diff --git a/pkgs/tools/misc/hyfetch/default.nix b/pkgs/by-name/hy/hyfetch/package.nix similarity index 66% rename from pkgs/tools/misc/hyfetch/default.nix rename to pkgs/by-name/hy/hyfetch/package.nix index 2e906541bda13..e88178b7880ea 100644 --- a/pkgs/tools/misc/hyfetch/default.nix +++ b/pkgs/by-name/hy/hyfetch/package.nix @@ -1,23 +1,26 @@ -{ lib -, fetchFromGitHub -, python3 +{ + lib, + fetchFromGitHub, + python3Packages, }: - -python3.pkgs.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "hyfetch"; - version = "1.4.11"; - format = "setuptools"; + version = "1.99.0"; + pyproject = true; src = fetchFromGitHub { owner = "hykilpikonna"; repo = "hyfetch"; rev = "refs/tags/${version}"; - hash = "sha256-xzN/tbS5BUvpKeozesE99gNp3NRDjvf4Qx7BHLc4svo="; + hash = "sha256-GL1/V+LgSXJ4b28PfinScDrJhU9VDa4pVi24zWEzbAk="; }; - propagatedBuildInputs = with python3.pkgs; [ - typing-extensions - setuptools + build-system = [ + python3Packages.setuptools + ]; + + dependencies = [ + python3Packages.typing-extensions ]; # No test available @@ -27,7 +30,7 @@ python3.pkgs.buildPythonApplication rec { "hyfetch" ]; - meta = with lib; { + meta = { description = "neofetch with pride flags <3"; longDescription = '' HyFetch is a command-line system information tool fork of neofetch. @@ -39,8 +42,11 @@ python3.pkgs.buildPythonApplication rec { icon set you are using, etc. ''; homepage = "https://github.com/hykilpikonna/HyFetch"; - license = licenses.mit; + license = lib.licenses.mit; mainProgram = "hyfetch"; - maintainers = with maintainers; [ yisuidenghua ]; + maintainers = with lib.maintainers; [ + yisuidenghua + isabelroses + ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 09d70e2b8c1ee..53dedcfbbb1a9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -37090,8 +37090,6 @@ with pkgs; hplipWithPlugin = hplip.override { withPlugin = true; }; - hyfetch = callPackage ../tools/misc/hyfetch { }; - hyperfine = callPackage ../tools/misc/hyperfine { inherit (darwin.apple_sdk.frameworks) Security; };