3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #223251 from dit7ya/fuc

fuc: init at 1.1.6
This commit is contained in:
Pol Dellaiera 2023-06-17 12:42:46 +02:00 committed by GitHub
commit 9fce0f6550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 0 deletions

View 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,

View 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 ];
};
}

View file

@ -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 { };