diff options
author | Emery Hemingway <ehmry@posteo.net> | 2023-10-31 16:05:49 +0000 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2023-11-28 16:48:10 +0200 |
commit | 146947ca3b1d703eac5f93803d442f25a8567820 (patch) | |
tree | 2f90b06318ff2c61cf541997c35fc0e7d484afdb /pkgs/by-name/pr | |
parent | 29b302705b282bedde66f1fe7f199e4a46be842f (diff) | |
download | nixlib-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.json | 16 | ||||
-rw-r--r-- | pkgs/by-name/pr/promexplorer/package.nix | 22 |
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"; + }; +}) |