2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, clippy
|
|
|
|
, rustfmt
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "fuc";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "2.0.0";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SUPERCILEX";
|
|
|
|
repo = "fuc";
|
|
|
|
rev = version;
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-Y43+LB6JXxpU94BrrjSBs2ge2g3NB7O3wYeU6rbF28U=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
cargoHash = "sha256-uNG+7a9EvGLkPIu/p8tnucZ3R6/LhZ2Lfv7V0e5YIxs=";
|
2023-07-15 17:15:38 +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 ];
|
|
|
|
};
|
|
|
|
}
|