From 7f2ce76f1a0d61e6550e106484ee65c5c4d58c0f Mon Sep 17 00:00:00 2001 From: Craig Younkins Date: Sun, 5 Sep 2021 16:11:29 -0400 Subject: [PATCH 1/2] maintainers: add cyounkins --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 09c65a77fde0..84236d62dce9 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2269,6 +2269,12 @@ githubId = 1382175; name = "Oliver Matthews"; }; + cyounkins = { + name = "Craig Younkins"; + email = "cyounkins@gmail.com"; + github = "cyounkins"; + githubId = 346185; + }; cypherpunk2140 = { email = "stefan.mihaila@pm.me"; github = "stefan-mihaila"; From e5880bd760b3ba7aa59da32e64f941db69860819 Mon Sep 17 00:00:00 2001 From: Craig Younkins Date: Sun, 5 Sep 2021 16:05:57 -0400 Subject: [PATCH 2/2] fclones: init at 0.14.0 --- pkgs/tools/misc/fclones/default.nix | 29 +++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/tools/misc/fclones/default.nix diff --git a/pkgs/tools/misc/fclones/default.nix b/pkgs/tools/misc/fclones/default.nix new file mode 100644 index 000000000000..1072bbcc5da3 --- /dev/null +++ b/pkgs/tools/misc/fclones/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, udev }: + +rustPlatform.buildRustPackage rec { + pname = "fclones"; + version = "0.14.0"; + + src = fetchFromGitHub { + owner = "pkolaczk"; + repo = pname; + rev = "v${version}"; + sha256 = "1ni5amy903cy822yhw070bcrrixrw2m1vr66q1h32bc98pyv4w05"; + }; + + cargoSha256 = "1gcb46k7bwdfsf6hyvmi6dna1nf6myzy63bhjfp0wy7c8g4m2mg8"; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ udev ]; + + # tests in dedupe.rs fail due to + # "creation time is not available for the filesystem" + doCheck = false; + + meta = with lib; { + description = "Efficient Duplicate File Finder and Remover"; + homepage = "https://github.com/pkolaczk/fclones"; + license = licenses.mit; + maintainers = with maintainers; [ cyounkins ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 618ec5cdddae..8e53d833da16 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24600,6 +24600,8 @@ with pkgs; fbida = callPackage ../applications/graphics/fbida { }; + fclones = callPackage ../tools/misc/fclones { }; + fcp = callPackage ../tools/misc/fcp { }; fdupes = callPackage ../tools/misc/fdupes { };