mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
32 lines
734 B
Nix
32 lines
734 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "locker";
|
|
version = "4.0.1";
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tgirlcloud";
|
|
repo = "locker";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-rVW2OcRG2h5G46UdRLYeZ5A0Gmca2fj5rRbZzMeDqqc=";
|
|
};
|
|
|
|
cargoHash = "sha256-gfhOOgZ8wkqbcghcCGCBMtImLfZazR2Dg/FgnjbofAg=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "A linter for your flake.lock file";
|
|
homepage = "https://github.com/tgirlcloud/locker";
|
|
license = lib.licenses.eupl12;
|
|
maintainers = with lib.maintainers; [ isabelroses ];
|
|
mainProgram = "locker";
|
|
};
|
|
})
|