mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
Merge pull request #184645 from lilyinstarlight/pkg/hyfetch-1.3.0
hyfetch: 1.1.2 -> 1.3.0
This commit is contained in:
commit
3b7fa572e6
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user