c3ac4d4040
GitOrigin-RevId: 1158501e7c7cba26d922723cf9f70099995eb755
36 lines
795 B
Nix
36 lines
795 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, libiconv
|
|
, rustPlatform
|
|
, AppKit
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "fclones";
|
|
version = "0.27.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pkolaczk";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-IAo7FKHh4oRPEmToEJca6b6E+TZvTeICPRYxol6Ppwo=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-S4F/2kf9jbOA3o3kj5Ouo3QvCULbVILh3QbBLXUeOzc=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
AppKit
|
|
libiconv
|
|
];
|
|
|
|
# device::test_physical_device_name test fails on Darwin
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
meta = with lib; {
|
|
description = "Efficient Duplicate File Finder and Remover";
|
|
homepage = "https://github.com/pkolaczk/fclones";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ cyounkins msfjarvis ];
|
|
};
|
|
}
|