python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / filesystems / dupe-krill / default.nix
blobb28aaadca90661ba1b22c208cd6b77ce602033fa
1 { lib, fetchFromGitHub, rustPlatform, runCommand }:
3 rustPlatform.buildRustPackage rec {
4   pname = "dupe-krill";
5   version = "1.4.8";
7   src = fetchFromGitHub {
8     owner = "kornelski";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-2fT9bw5LgJUQ0tm1T/vV5SaDjNH0OGKt7QUQLd7nmOs=";
12     postFetch = ''
13       cp ${./Cargo.lock} $out/Cargo.lock
14     '';
15   };
17   cargoSha256 = "sha256-JUcIDUVzSLzblb2EbmSfuCAB+S0fyW6wpGF0b/xR+b0=";
19   meta = with lib; {
20     description = " A fast file deduplicator.";
21     homepage = "https://github.com/kornelski/dupe-krill";
22     license = with licenses; [ mit ];
23     maintainers = with maintainers; [ urbas ];
24   };