nixpkgs/pkgs/tools/filesystems/dupe-krill/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

27 lines
678 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "dupe-krill";
version = "1.4.8";
src = fetchFromGitHub {
owner = "kornelski";
repo = pname;
rev = "v${version}";
sha256 = "sha256-2fT9bw5LgJUQ0tm1T/vV5SaDjNH0OGKt7QUQLd7nmOs=";
postFetch = ''
cp ${./Cargo.lock} $out/Cargo.lock
'';
};
cargoSha256 = "sha256-JUcIDUVzSLzblb2EbmSfuCAB+S0fyW6wpGF0b/xR+b0=";
meta = with lib; {
description = "Fast file deduplicator";
homepage = "https://github.com/kornelski/dupe-krill";
license = with licenses; [ mit ];
maintainers = with maintainers; [ urbas ];
mainProgram = "dupe-krill";
};
}