fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / wi / wiper / package.nix
blob1540bbda4bc478935846735c607c3a52a72d0275
2   lib,
3   stdenv,
4   darwin,
5   rustPlatform,
6   fetchFromGitHub,
7 }:
8 let
9   version = "0.2.1";
11 rustPlatform.buildRustPackage {
12   pname = "wiper";
13   inherit version;
15   src = fetchFromGitHub {
16     owner = "ikebastuz";
17     repo = "wiper";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-IheSAPk1l6wJ2v4RLPIPvY/5XMfh+vJLyQ/Lc7RrCJQ=";
20   };
22   cargoHash = "sha256-gYWTv0AXOmpx9Nc8akBMVWkESI0AtnGgvfH9hQZ0peo=";
24   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Foundation ];
26   meta = {
27     description = "Disk analyser and cleanup tool";
28     changelog = "https://github.com/ikebastuz/wiper/releases/tag/v${version}";
29     homepage = "https://github.com/ikebastuz/wiper";
30     license = lib.licenses.mit;
31     maintainers = with lib.maintainers; [ isabelroses ];
32     mainProgram = "wiper";
33   };