e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
33 lines
721 B
Nix
33 lines
721 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, clippy
|
|
, rustfmt
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "fuc";
|
|
version = "1.1.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SUPERCILEX";
|
|
repo = "fuc";
|
|
rev = version;
|
|
hash = "sha256-NFYIz8YwS4Qpj2owfqV5ZSCzRuUi8nEAJl0m3V46Vnk=";
|
|
};
|
|
|
|
cargoHash = "sha256-QcpdAJH7Ry3VzSqXd1xM++Z44TCL6r9nrrt1OGj89oI=";
|
|
|
|
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 ];
|
|
};
|
|
}
|