nixpkgs/pkgs/applications/misc/kondo/default.nix

23 lines
609 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub }:
2020-04-03 08:55:56 +00:00
rustPlatform.buildRustPackage rec {
pname = "kondo";
2020-08-02 04:26:43 +00:00
version = "0.4";
2020-04-03 08:55:56 +00:00
src = fetchFromGitHub {
owner = "tbillington";
repo = pname;
rev = "v${version}";
2020-08-02 04:26:43 +00:00
sha256 = "0kl2zn6ir3w75ny25ksgxl93vlyb13gzx2795zyimqqnsrdpbbrf";
2020-04-03 08:55:56 +00:00
};
2020-08-02 04:26:43 +00:00
cargoSha256 = "1ax81a2828z3yla1psg5xi8ild65m6zcsvx48ncz902mpzqlj92b";
2020-04-03 08:55:56 +00:00
meta = with lib; {
2020-04-03 08:55:56 +00:00
description = "Save disk space by cleaning unneeded files from software projects";
homepage = "https://github.com/tbillington/kondo";
license = licenses.mit;
maintainers = with maintainers; [ Br1ght0ne ];
2020-04-03 08:55:56 +00:00
};
}