Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
{ lib
, fetchFromGitHub
, python3
{
lib,
fetchFromGitHub,
python3Packages,
}:

python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "hyfetch";
version = "1.4.11";
format = "setuptools";
version = "1.99.0";
pyproject = true;

src = fetchFromGitHub {
owner = "hykilpikonna";
repo = "hyfetch";
rev = "refs/tags/${version}";
hash = "sha256-xzN/tbS5BUvpKeozesE99gNp3NRDjvf4Qx7BHLc4svo=";
hash = "sha256-GL1/V+LgSXJ4b28PfinScDrJhU9VDa4pVi24zWEzbAk=";
};

propagatedBuildInputs = with python3.pkgs; [
typing-extensions
setuptools
build-system = [
python3Packages.setuptools
];

dependencies = [
python3Packages.typing-extensions
];

# No test available
Expand All @@ -27,7 +30,7 @@ python3.pkgs.buildPythonApplication rec {
"hyfetch"
];

meta = with lib; {
meta = {
description = "neofetch with pride flags <3";
longDescription = ''
HyFetch is a command-line system information tool fork of neofetch.
Expand All @@ -39,8 +42,11 @@ python3.pkgs.buildPythonApplication rec {
icon set you are using, etc.
'';
homepage = "https://github.com/hykilpikonna/HyFetch";
license = licenses.mit;
license = lib.licenses.mit;
mainProgram = "hyfetch";
maintainers = with maintainers; [ yisuidenghua ];
maintainers = with lib.maintainers; [
yisuidenghua
isabelroses
];
};
}
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37129,8 +37129,6 @@ with pkgs;

hplipWithPlugin = hplip.override { withPlugin = true; };

hyfetch = callPackage ../tools/misc/hyfetch { };

hyperfine = callPackage ../tools/misc/hyperfine {
inherit (darwin.apple_sdk.frameworks) Security;
};
Expand Down