Skip to content

Commit f625128

Browse files
committed
hyfetch: use modern builders
1 parent 5429f7f commit f625128

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed
Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
lib,
33
fetchFromGitHub,
4-
python3,
4+
python3Packages,
55
}:
6-
python3.pkgs.buildPythonApplication rec {
6+
python3Packages.buildPythonApplication rec {
77
pname = "hyfetch";
88
version = "1.99.0";
9-
format = "setuptools";
9+
pyproject = true;
1010

1111
src = fetchFromGitHub {
1212
owner = "hykilpikonna";
@@ -15,9 +15,12 @@ python3.pkgs.buildPythonApplication rec {
1515
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
}

0 commit comments

Comments
 (0)