about summary refs log tree commit diff
path: root/pkgs/by-name/pr
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2023-10-31 16:05:49 +0000
committerEmery Hemingway <ehmry@posteo.net>2023-11-28 16:48:10 +0200
commit146947ca3b1d703eac5f93803d442f25a8567820 (patch)
tree2f90b06318ff2c61cf541997c35fc0e7d484afdb /pkgs/by-name/pr
parent29b302705b282bedde66f1fe7f199e4a46be842f (diff)
downloadnixlib-146947ca3b1d703eac5f93803d442f25a8567820.tar
nixlib-146947ca3b1d703eac5f93803d442f25a8567820.tar.gz
nixlib-146947ca3b1d703eac5f93803d442f25a8567820.tar.bz2
nixlib-146947ca3b1d703eac5f93803d442f25a8567820.tar.lz
nixlib-146947ca3b1d703eac5f93803d442f25a8567820.tar.xz
nixlib-146947ca3b1d703eac5f93803d442f25a8567820.tar.zst
nixlib-146947ca3b1d703eac5f93803d442f25a8567820.zip
promexplorer: build with lockfile
Diffstat (limited to 'pkgs/by-name/pr')
-rw-r--r--pkgs/by-name/pr/promexplorer/lock.json16
-rw-r--r--pkgs/by-name/pr/promexplorer/package.nix22
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/by-name/pr/promexplorer/lock.json b/pkgs/by-name/pr/promexplorer/lock.json
new file mode 100644
index 000000000000..b4df2eff89fd
--- /dev/null
+++ b/pkgs/by-name/pr/promexplorer/lock.json
@@ -0,0 +1,16 @@
+{
+  "depends": [
+    {
+      "method": "fetchzip",
+      "packages": [
+        "illwill"
+      ],
+      "path": "/nix/store/3lmm3z36qn4gz7bfa209zv0pqrpm3di9-source",
+      "ref": "v0.3.2",
+      "rev": "1d12cb36ab7b76c31d2d25fa421013ecb382e625",
+      "sha256": "0f9yncl5gbdja18mrqf5ixrdgrh95k0khda923dm1jd1x1b7ar8z",
+      "srcDir": "",
+      "url": "https://github.com/johnnovak/illwill/archive/1d12cb36ab7b76c31d2d25fa421013ecb382e625.tar.gz"
+    }
+  ]
+}
diff --git a/pkgs/by-name/pr/promexplorer/package.nix b/pkgs/by-name/pr/promexplorer/package.nix
new file mode 100644
index 000000000000..d0443ecf1aa6
--- /dev/null
+++ b/pkgs/by-name/pr/promexplorer/package.nix
@@ -0,0 +1,22 @@
+{ lib, buildNimPackage, fetchFromGitHub }:
+buildNimPackage (finalAttrs: {
+  pname = "promexplorer";
+  version = "0.0.5";
+  src = fetchFromGitHub {
+    owner = "marcusramberg";
+    repo = "promexplorer";
+    rev = "v${finalAttrs.version}";
+    hash = "sha256-a+9afqdgLgGf2hOWf/QsElq+CurDfE1qDmYCzodZIDU=";
+  };
+
+  lockFile = ./lock.json;
+
+  meta = with lib; {
+    description = "A simple tool to explore prometheus exporter metrics";
+    homepage = "https://github.com/marcusramberg/promexplorer";
+    license = licenses.mit;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ marcusramberg ];
+    mainProgram = "promexplorer";
+  };
+})