projclean: init at 0.8.0
This commit is contained in:
parent
b6b47963d8
commit
02b7b8270f
37
pkgs/by-name/pr/projclean/package.nix
Normal file
37
pkgs/by-name/pr/projclean/package.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "projclean";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sigoden";
|
||||
repo = "projclean";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-EScezOsfiirg8YbhteFxuVTodeup8tUzZdcrWveJxWE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-9atTgWg1iYCeXsRLLMOR87CbpIezD3ozMMOgumRNKAg=";
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Project dependencies & build artifacts cleanup tool";
|
||||
homepage = "https://github.com/sigoden/projclean";
|
||||
license = with lib.licenses; [
|
||||
mit
|
||||
asl20
|
||||
];
|
||||
maintainers = with lib.maintainers; [ chillcicada ];
|
||||
mainProgram = "projclean";
|
||||
};
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user