locker: init at 4.0.1 (#536702)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
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";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user