hyfetch: 1.1.2 -> 1.3.0

This commit is contained in:
Lily Foster 2022-08-01 18:05:11 -04:00
parent 93933df2f3
commit 73b573ce61
2 changed files with 13 additions and 15 deletions

View file

@ -1,25 +1,26 @@
{ lib, python3Packages, fetchFromGitHub }: { lib, buildPythonPackage, fetchFromGitHub, typing-extensions, setuptools }:
python3Packages.buildPythonPackage rec { buildPythonPackage rec {
pname = "HyFetch"; pname = "HyFetch";
version = "1.1.2"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "hyfetch"; repo = "hyfetch";
owner = "hykilpikonna"; owner = "hykilpikonna";
rev = "92623417f90f0cf006c0dd2adcf3f24f4308fe0c"; rev = version;
sha256 = "sha256-26L2qt+RarRf3+L6+mMy/ZJNVBVirKs5oEclEsImtC0="; sha256 = "sha256-8Mp3MV9HVzXzT/W6F/lD34tT0uOgqyydg31PlR3sMUA=";
}; };
propagatedBuildInputs = with python3Packages; [ # TODO: Remove with next release bump since it has been fixed upstream (hykilpikonna/hyfetch@d797a8c)
postPatch = ''
chmod +x neofetch
'';
propagatedBuildInputs = [
typing-extensions typing-extensions
setuptools setuptools
]; ];
preCheck = ''
rm -rf hyfetch/color_scale_numpy.py
'';
meta = with lib; { meta = with lib; {
description = "neofetch with pride flags <3"; description = "neofetch with pride flags <3";
longDescription = '' longDescription = ''
@ -34,9 +35,6 @@ python3Packages.buildPythonPackage rec {
homepage = "https://github.com/hykilpikonna/HyFetch"; homepage = "https://github.com/hykilpikonna/HyFetch";
license = licenses.mit; license = licenses.mit;
mainProgram = "hyfetch"; mainProgram = "hyfetch";
maintainers = [ maintainers = with maintainers; [ yisuidenghua ];
maintainers.yisuidenghua
];
}; };
} }

View file

@ -34861,7 +34861,7 @@ with pkgs;
hplipWithPlugin = hplip.override { withPlugin = true; }; hplipWithPlugin = hplip.override { withPlugin = true; };
hyfetch = callPackage ../tools/misc/hyfetch { }; hyfetch = python3Packages.callPackage ../tools/misc/hyfetch { };
hyperfine = callPackage ../tools/misc/hyperfine { hyperfine = callPackage ../tools/misc/hyperfine {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;