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

23 lines
609 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub }:
2020-04-03 10:55:56 +02:00
rustPlatform.buildRustPackage rec {
pname = "kondo";
2020-08-02 06:26:43 +02:00
version = "0.4";
2020-04-03 10:55:56 +02:00
src = fetchFromGitHub {
owner = "tbillington";
repo = pname;
rev = "v${version}";
2020-08-02 06:26:43 +02:00
sha256 = "0kl2zn6ir3w75ny25ksgxl93vlyb13gzx2795zyimqqnsrdpbbrf";
2020-04-03 10:55:56 +02:00
};
cargoSha256 = "0sddsm0jys1bsj2bsr39lcyx8k2hzw17nlsv6aql0v82x8qbsiv4";
2020-04-03 10:55:56 +02:00
meta = with lib; {
2020-04-03 10:55:56 +02: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 10:55:56 +02:00
};
}