nixpkgs/pkgs/applications/misc/kondo/default.nix
2024-02-11 03:19:15 +01:00

24 lines
630 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "kondo";
version = "0.8";
src = fetchFromGitHub {
owner = "tbillington";
repo = pname;
rev = "v${version}";
hash = "sha256-OqOmOujnyLTqwzNvLWudQi+xa5v37JTtyUXaItnpnfs=";
};
cargoHash = "sha256-WF4GHj/5VYrTUh1E3t29zbpSLjJ6g7RWVpLYqg9msZg=";
meta = with lib; {
description = "Save disk space by cleaning unneeded files from software projects";
homepage = "https://github.com/tbillington/kondo";
license = licenses.mit;
maintainers = with maintainers; [ Br1ght0ne ];
mainProgram = "kondo";
};
}