at 24.11-pre 33 lines 720 B view raw
1{ lib 2, rustPlatform 3, fetchFromGitHub 4, clippy 5, rustfmt 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "fuc"; 10 version = "2.1.0"; 11 12 src = fetchFromGitHub { 13 owner = "SUPERCILEX"; 14 repo = "fuc"; 15 rev = version; 16 hash = "sha256-7hXSw79hIxfPRm7nSQhdG3/M9cZ+hN4X0kRHR2PDK0U="; 17 }; 18 19 cargoHash = "sha256-hnfH8ET4PVbi5qzXxa3gbOHYnlVqXA15efUefF+6zfs="; 20 21 RUSTC_BOOTSTRAP = 1; 22 23 cargoBuildFlags = [ "--workspace" "--bin cpz" "--bin rmz" ]; 24 25 nativeCheckInputs = [ clippy rustfmt ]; 26 27 meta = with lib; { 28 description = "Modern, performance focused unix commands"; 29 homepage = "https://github.com/SUPERCILEX/fuc"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ dit7ya ]; 32 }; 33}