nixpkgs/pkgs/tools/misc/fuc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
720 B
Nix
Raw Normal View History

2023-03-26 14:06:08 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, clippy
, rustfmt
}:
rustPlatform.buildRustPackage rec {
pname = "fuc";
2023-10-27 07:25:46 +00:00
version = "1.1.9";
2023-03-26 14:06:08 +00:00
src = fetchFromGitHub {
owner = "SUPERCILEX";
repo = "fuc";
rev = version;
2023-10-27 07:25:46 +00:00
hash = "sha256-4yksr2gilR7Ec2sRzGsGmOgbRSQJR/5fDofZM4sRxDg=";
2023-03-26 14:06:08 +00:00
};
2023-10-27 07:25:46 +00:00
cargoHash = "sha256-U/LABtCtpop+MXAceE93FKtf1FfgLuVIYqqXtd0NckQ=";
2023-03-26 14:06:08 +00:00
RUSTC_BOOTSTRAP = 1;
cargoBuildFlags = [ "--workspace" "--bin cpz" "--bin rmz" ];
nativeCheckInputs = [ clippy rustfmt ];
meta = with lib; {
description = "Modern, performance focused unix commands";
homepage = "https://github.com/SUPERCILEX/fuc";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya ];
};
}