Skip to content

Commit b523b20

Browse files
hyfetch: 1.4.11 -> 1.99.0; use modern standards (#350800)
2 parents 908e008 + f625128 commit b523b20

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed
Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
{ lib
2-
, fetchFromGitHub
3-
, python3
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
python3Packages,
45
}:
5-
6-
python3.pkgs.buildPythonApplication rec {
6+
python3Packages.buildPythonApplication rec {
77
pname = "hyfetch";
8-
version = "1.4.11";
9-
format = "setuptools";
8+
version = "1.99.0";
9+
pyproject = true;
1010

1111
src = fetchFromGitHub {
1212
owner = "hykilpikonna";
1313
repo = "hyfetch";
1414
rev = "refs/tags/${version}";
15-
hash = "sha256-xzN/tbS5BUvpKeozesE99gNp3NRDjvf4Qx7BHLc4svo=";
15+
hash = "sha256-GL1/V+LgSXJ4b28PfinScDrJhU9VDa4pVi24zWEzbAk=";
1616
};
1717

18-
propagatedBuildInputs = with python3.pkgs; [
19-
typing-extensions
20-
setuptools
18+
build-system = [
19+
python3Packages.setuptools
20+
];
21+
22+
dependencies = [
23+
python3Packages.typing-extensions
2124
];
2225

2326
# No test available
@@ -27,7 +30,7 @@ python3.pkgs.buildPythonApplication rec {
2730
"hyfetch"
2831
];
2932

30-
meta = with lib; {
33+
meta = {
3134
description = "neofetch with pride flags <3";
3235
longDescription = ''
3336
HyFetch is a command-line system information tool fork of neofetch.
@@ -39,8 +42,11 @@ python3.pkgs.buildPythonApplication rec {
3942
icon set you are using, etc.
4043
'';
4144
homepage = "https://github.com/hykilpikonna/HyFetch";
42-
license = licenses.mit;
45+
license = lib.licenses.mit;
4346
mainProgram = "hyfetch";
44-
maintainers = with maintainers; [ yisuidenghua ];
47+
maintainers = with lib.maintainers; [
48+
yisuidenghua
49+
isabelroses
50+
];
4551
};
4652
}

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37090,8 +37090,6 @@ with pkgs;
3709037090

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

37093-
hyfetch = callPackage ../tools/misc/hyfetch { };
37094-
3709537093
hyperfine = callPackage ../tools/misc/hyperfine {
3709637094
inherit (darwin.apple_sdk.frameworks) Security;
3709737095
};

0 commit comments

Comments
 (0)