blob: a6322a294b159db8391d3bad64afbc6e5d4f6793 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
fetchFromGitHub,
rustPlatform,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "projclean";
version = "0.9.0";
src = fetchFromGitHub {
owner = "sigoden";
repo = "projclean";
tag = "v${finalAttrs.version}";
hash = "sha256-lVXqaN8zaJ/T9ot2ONKjOJfejWjsHLNG3d3o8sdaYQM=";
};
cargoHash = "sha256-jVONodcFCdjKOt7GkIUlWw+4yisDNJ/srqqP99gdsAc=";
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";
};
})
|