diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 455939cc5d23..0c095db96bcd 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14830,4 +14830,10 @@ github = "nikstur"; githubId = 61635709; }; + yisuidenghua = { + email = "bileiner@gmail.com"; + name = "Milena Yisui"; + github = "yisuidenghua"; + githubId = 102890144; + }; } diff --git a/pkgs/tools/misc/hyfetch/default.nix b/pkgs/tools/misc/hyfetch/default.nix new file mode 100644 index 000000000000..8a346855a7b4 --- /dev/null +++ b/pkgs/tools/misc/hyfetch/default.nix @@ -0,0 +1,42 @@ +{ lib, python3Packages, fetchFromGitHub }: + +python3Packages.buildPythonPackage rec { + pname = "HyFetch"; + version = "1.1.2"; + + src = fetchFromGitHub { + repo = "hyfetch"; + owner = "hykilpikonna"; + rev = "92623417f90f0cf006c0dd2adcf3f24f4308fe0c"; + sha256 = "sha256-26L2qt+RarRf3+L6+mMy/ZJNVBVirKs5oEclEsImtC0="; + }; + + propagatedBuildInputs = with python3Packages; [ + typing-extensions + setuptools + ]; + + preCheck = '' + rm -rf hyfetch/color_scale_numpy.py + ''; + + meta = with lib; { + description = "neofetch with pride flags <3"; + longDescription = '' + HyFetch is a command-line system information tool fork of neofetch. + HyFetch displays information about your system next to your OS logo + in ASCII representation. The ASCII representation is then colored in + the pattern of the pride flag of your choice. The main purpose of + HyFetch is to be used in screenshots to show other users what + operating system or distribution you are running, what theme or + icon set you are using, etc. + ''; + homepage = "https://github.com/hykilpikonna/HyFetch"; + license = licenses.mit; + mainProgram = "hyfetch"; + maintainers = [ + maintainers.yisuidenghua + ]; + + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c9fdb8021677..834de8b820cb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34829,6 +34829,8 @@ with pkgs; hplipWithPlugin = hplip.override { withPlugin = true; }; + hyfetch = callPackage ../tools/misc/hyfetch { }; + hyperfine = callPackage ../tools/misc/hyperfine { inherit (darwin.apple_sdk.frameworks) Security; };