From 3c85d545724a7987effbd6bc1ca0b54935b8e6eb Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 6 Nov 2024 19:08:05 -0500 Subject: hyfetch: 1.99.0-unstable-2024-10-23 -> 1.99.0-unstable-2024-10-29 (#123) * jellyfin-rpc: drop it's been merged into nixpkgs * hyfetch: 1.99.0-unstable-2024-10-23 -> 1.99.0-unstable-2024-10-29 --- pkgs/hyfetch/package.nix | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'pkgs/hyfetch/package.nix') diff --git a/pkgs/hyfetch/package.nix b/pkgs/hyfetch/package.nix index 597999b..16afb7d 100644 --- a/pkgs/hyfetch/package.nix +++ b/pkgs/hyfetch/package.nix @@ -21,28 +21,21 @@ let in rustPlatform.buildRustPackage rec { pname = "hyfetch"; - version = "1.99.0-unstable-2024-10-23"; + version = "1.99.0-unstable-2024-10-29"; src = fetchFromGitHub { owner = "hykilpikonna"; repo = "hyfetch"; - rev = "b5b49ecbc095ac20e49c0783121c885752df9001"; - hash = "sha256-W1oMzLACGDvcl8du4L3TuUn79i6HFUFuPEJhc3IPD0E="; + rev = "e630b7837fd4d09fadf377413e1ffa44fa80f9b6"; + hash = "sha256-WPJzLm27Ourt5KddMCwt7TuuFTz4TIIm5yd5E8NiQmI="; }; - # https://github.com/hykilpikonna/hyfetch/pull/361 - # - # Upstream will call `neowofetch` with Bash (from the PATH) by default - # We know `neowofetch` has a shebang though, so run it directly to avoid - # adding Bash to the wrapper - # - # Yes, this introduces 2 warnings - postPatch = '' - substituteInPlace crates/hyfetch/src/neofetch_util.rs \ - --replace-fail 'command.arg(neofetch_path)' 'let mut command = Command::new(neofetch_path)' - ''; + cargoHash = "sha256-PfPTlmqTxVk4EIzLzaLD6UoD/z43TxtjDmv32bAPwT8="; - cargoHash = "sha256-4Tz6hqzjlCT5PSa1AzWGU6mBHWxMcsJm9+Uzmsvurps="; + outputs = [ + "out" + "man" + ]; strictDeps = true; @@ -57,7 +50,10 @@ rustPlatform.buildRustPackage rec { ++ lib.optional withColor "color" ++ lib.optional withMacchina "macchina"; - cargoBuildFlags = [ "--package hyfetch" ]; + cargoBuildFlags = [ + "--package" + "hyfetch" + ]; cargoTestFlags = cargoBuildFlags; postInstall = '' -- cgit v1.2.3