commit
9fce0f6550
11
pkgs/tools/misc/fuc/add_missing_feature.patch
Normal file
11
pkgs/tools/misc/fuc/add_missing_feature.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
diff --git a/cpz/src/main.rs b/cpz/src/main.rs
|
||||
index 4e7ce8d..0d0922d 100644
|
||||
--- a/cpz/src/main.rs
|
||||
+++ b/cpz/src/main.rs
|
||||
@@ -1,5 +1,6 @@
|
||||
#![feature(once_cell)]
|
||||
#![feature(let_chains)]
|
||||
+#![feature(main_separator_str)]
|
||||
|
||||
use std::{
|
||||
borrow::Cow,
|
35
pkgs/tools/misc/fuc/default.nix
Normal file
35
pkgs/tools/misc/fuc/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, clippy
|
||||
, rustfmt
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fuc";
|
||||
version = "1.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SUPERCILEX";
|
||||
repo = "fuc";
|
||||
rev = version;
|
||||
hash = "sha256-kbEIZljIWs/GYOQ/XCBgWsBcEwm05bf7bZmAwq+eWXo=";
|
||||
};
|
||||
|
||||
patches = [ ./add_missing_feature.patch ];
|
||||
|
||||
cargoHash = "sha256-AD3LdBMmyf6xM7sWUDxYZs3NltnAkEfAdxYLAbnRM4M=";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -2350,6 +2350,8 @@ with pkgs;
|
|||
|
||||
fsuae-launcher = libsForQt5.callPackage ../applications/emulators/fs-uae/launcher.nix { };
|
||||
|
||||
fuc = callPackage ../tools/misc/fuc { };
|
||||
|
||||
fuse-emulator = callPackage ../applications/emulators/fuse-emulator { };
|
||||
|
||||
fusesoc = python3Packages.callPackage ../tools/package-management/fusesoc { };
|
||||
|
|
Loading…
Reference in a new issue