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
};
2020-08-02 06:26:43 +02:00
cargoSha256 = "1ax81a2828z3yla1psg5xi8ild65m6zcsvx48ncz902mpzqlj92b";
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
};
}