depot/third_party/nixpkgs/pkgs/tools/misc/fuc/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

33 lines
720 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, clippy
, rustfmt
}:
rustPlatform.buildRustPackage rec {
pname = "fuc";
version = "1.1.8";
src = fetchFromGitHub {
owner = "SUPERCILEX";
repo = "fuc";
rev = version;
hash = "sha256-jVJhV9uy49hWmBw8LVmrid/DswbdD/SOtDc1tZgBQnk=";
};
cargoHash = "sha256-94NdaJfIcTB6o4+iZXvuqm0OlAQrChGZEy2E7/yMxqE=";
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 ];
};
}