mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
promexplorer: build with lockfile
This commit is contained in:
parent
29b302705b
commit
146947ca3b
16
pkgs/by-name/pr/promexplorer/lock.json
Normal file
16
pkgs/by-name/pr/promexplorer/lock.json
Normal file
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,16 +1,15 @@
|
||||
{ lib, nimPackages, fetchFromGitHub }:
|
||||
nimPackages.buildNimPackage rec {
|
||||
{ lib, buildNimPackage, fetchFromGitHub }:
|
||||
buildNimPackage (finalAttrs: {
|
||||
pname = "promexplorer";
|
||||
version = "0.0.5";
|
||||
nimBinOnly = true;
|
||||
src = fetchFromGitHub {
|
||||
owner = "marcusramberg";
|
||||
repo = "promexplorer";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-a+9afqdgLgGf2hOWf/QsElq+CurDfE1qDmYCzodZIDU=";
|
||||
};
|
||||
|
||||
buildInputs = with nimPackages; [ illwill illwillwidgets ];
|
||||
lockFile = ./lock.json;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple tool to explore prometheus exporter metrics";
|
||||
@ -20,4 +19,4 @@ nimPackages.buildNimPackage rec {
|
||||
maintainers = with maintainers; [ marcusramberg ];
|
||||
mainProgram = "promexplorer";
|
||||
};
|
||||
}
|
||||
})
|
@ -11332,8 +11332,6 @@ with pkgs;
|
||||
|
||||
present-cli = callPackage ../tools/misc/present-cli { };
|
||||
|
||||
promexplorer = callPackage ../tools/misc/promexplorer { };
|
||||
|
||||
pulsemixer = callPackage ../tools/audio/pulsemixer { };
|
||||
|
||||
pwsafe = callPackage ../applications/misc/pwsafe { };
|
||||
|
Loading…
Reference in New Issue
Block a user