nix-janitor: init at 0.2.0 (#313130)

authored by Norbert Melzer and committed by GitHub 04861e85 4469a8c9

+32
+32
pkgs/by-name/ni/nix-janitor/package.nix
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "nix-janitor"; 10 + version = "0.2.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "nobbz"; 14 + repo = "nix-janitor"; 15 + rev = "refs/tags/${version}"; 16 + hash = "sha256-nGtbBNU6xFWXnmL1AaUbSpO0z5Kq2t/Mn8sqwzjNlkE="; 17 + }; 18 + 19 + cargoHash = "sha256-j3i4c3KjI8ehg42FqbPp+8M15zT9Bu76P4zv8ApUoeA="; 20 + 21 + passthru.updateScript = nix-update-script { }; 22 + 23 + meta = { 24 + homepage = "https://github.com/nobbz/nix-janitor"; 25 + changelog = "https://github.com/NobbZ/nix-janitor/blob/${version}/CHANGELOG.md"; 26 + description = "A tool to clean up old profile generations"; 27 + mainProgram = "janitor"; 28 + platforms = lib.platforms.linux; 29 + license = lib.licenses.mit; 30 + maintainers = [ lib.maintainers.nobbz ]; 31 + }; 32 + }