Merge pull request #184645 from lilyinstarlight/pkg/hyfetch-1.3.0

hyfetch: 1.1.2 -> 1.3.0
This commit is contained in:
Jonas Heinrich 2022-08-02 09:22:58 +02:00 committed by GitHub
commit 3b7fa572e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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";
version = "1.1.2";
version = "1.3.0";
src = fetchFromGitHub {
repo = "hyfetch";
owner = "hykilpikonna";
rev = "92623417f90f0cf006c0dd2adcf3f24f4308fe0c";
sha256 = "sha256-26L2qt+RarRf3+L6+mMy/ZJNVBVirKs5oEclEsImtC0=";
rev = version;
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
setuptools
];
preCheck = ''
rm -rf hyfetch/color_scale_numpy.py
'';
meta = with lib; {
description = "neofetch with pride flags <3";
longDescription = ''
@ -34,9 +35,6 @@ python3Packages.buildPythonPackage rec {
homepage = "https://github.com/hykilpikonna/HyFetch";
license = licenses.mit;
mainProgram = "hyfetch";
maintainers = [
maintainers.yisuidenghua
];
maintainers = with maintainers; [ yisuidenghua ];
};
}

View File

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