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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
607 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub }:
2020-04-03 10:55:56 +02:00
rustPlatform.buildRustPackage rec {
pname = "kondo";
2022-01-11 17:06:00 +01:00
version = "0.5";
2020-04-03 10:55:56 +02:00
src = fetchFromGitHub {
owner = "tbillington";
repo = pname;
rev = "v${version}";
2022-01-11 17:06:00 +01:00
sha256 = "sha256-TTgsfoJ3TEK7wyRJfBIxvPA53wZbq7KJ4LxjUbrHE4Y=";
2020-04-03 10:55:56 +02:00
};
2022-01-11 17:06:00 +01:00
cargoSha256 = "sha256-s5e997I7YiDKF6rOB0XwcxbnHR8AifYPX9ctvdz8VTw=";
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
};
}