Unverified Commit 2eabe75f authored by Mostly Void's avatar Mostly Void
Browse files

fuc: init at 1.1.6

parent 571a0735
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2189,6 +2189,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 { };
  fw = callPackage ../tools/misc/fw {