Files
nixpkgs/pkgs/by-name/gr/gridlock/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
833 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage {
pname = "gridlock";
version = "0-unstable-2023-08-29";
outputs = [
"out"
"nyarr"
];
src = fetchFromGitHub {
owner = "lf-";
repo = "gridlock";
rev = "a98abfa554e5f8e2b7242662c0c714b7f1d7ec29";
hash = "sha256-I4NGfgNX79ZhWXDeUDJyDzP2GxcNhHhazVmmmPlz5js=";
};
cargoHash = "sha256-CflDi1sjPBX+FOj74DWYKcg0O8Q7bnCFhzEnCrRi0g8=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
];
postInstall = ''
moveToOutput bin/nyarr $nyarr
'';
meta = with lib; {
description = "Nix compatible lockfile manager, without Nix";
homepage = "https://github.com/lf-/gridlock";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}