Merge pull request #198772 from fabaff/hyfetch-bump

hyfetch: modernize
This commit is contained in:
Artturi 2022-10-31 22:06:04 +02:00 committed by GitHub
commit 362681d8b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 7 deletions

View file

@ -1,21 +1,32 @@
{ lib, buildPythonPackage, fetchFromGitHub, typing-extensions, setuptools }:
{ lib
, fetchFromGitHub
, python3
}:
buildPythonPackage rec {
pname = "HyFetch";
python3.pkgs.buildPythonApplication rec {
pname = "hyfetch";
version = "1.4.3";
format = "setuptools";
src = fetchFromGitHub {
repo = "hyfetch";
owner = "hykilpikonna";
repo = "hyfetch";
rev = "refs/tags/${version}";
sha256 = "sha256-ScdcV1ojtVz/OdR7k+y7Wj4VAne++8LY9Vz+wO3CJGI=";
hash = "sha256-ScdcV1ojtVz/OdR7k+y7Wj4VAne++8LY9Vz+wO3CJGI=";
};
propagatedBuildInputs = [
propagatedBuildInputs = with python3.pkgs; [
typing-extensions
setuptools
];
# No test available
doCheck = false;
pythonImportsCheck = [
"hyfetch"
];
meta = with lib; {
description = "neofetch with pride flags <3";
longDescription = ''

View file

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