hyfetch: 1.4.11 -> 1.99.0; use modern standards (#350800)

This commit is contained in:
Donovan Glover
2024-10-25 04:13:20 +00:00
committed by GitHub
2 changed files with 20 additions and 16 deletions

View File

@@ -1,23 +1,26 @@
{ lib {
, fetchFromGitHub lib,
, python3 fetchFromGitHub,
python3Packages,
}: }:
python3Packages.buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "hyfetch"; pname = "hyfetch";
version = "1.4.11"; version = "1.99.0";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hykilpikonna"; owner = "hykilpikonna";
repo = "hyfetch"; repo = "hyfetch";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-xzN/tbS5BUvpKeozesE99gNp3NRDjvf4Qx7BHLc4svo="; hash = "sha256-GL1/V+LgSXJ4b28PfinScDrJhU9VDa4pVi24zWEzbAk=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = [
typing-extensions python3Packages.setuptools
setuptools ];
dependencies = [
python3Packages.typing-extensions
]; ];
# No test available # No test available
@@ -27,7 +30,7 @@ python3.pkgs.buildPythonApplication rec {
"hyfetch" "hyfetch"
]; ];
meta = with lib; { meta = {
description = "neofetch with pride flags <3"; description = "neofetch with pride flags <3";
longDescription = '' longDescription = ''
HyFetch is a command-line system information tool fork of neofetch. HyFetch is a command-line system information tool fork of neofetch.
@@ -39,8 +42,11 @@ python3.pkgs.buildPythonApplication rec {
icon set you are using, etc. icon set you are using, etc.
''; '';
homepage = "https://github.com/hykilpikonna/HyFetch"; homepage = "https://github.com/hykilpikonna/HyFetch";
license = licenses.mit; license = lib.licenses.mit;
mainProgram = "hyfetch"; mainProgram = "hyfetch";
maintainers = with maintainers; [ yisuidenghua ]; maintainers = with lib.maintainers; [
yisuidenghua
isabelroses
];
}; };
} }

View File

@@ -37090,8 +37090,6 @@ with pkgs;
hplipWithPlugin = hplip.override { withPlugin = true; }; hplipWithPlugin = hplip.override { withPlugin = true; };
hyfetch = 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;
}; };