2022-10-31 10:08:27 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
2022-07-27 03:27:51 +00:00
|
|
|
|
2022-10-31 10:08:27 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "hyfetch";
|
2023-12-03 19:44:00 +00:00
|
|
|
version = "1.4.11";
|
2022-10-31 10:08:27 +00:00
|
|
|
format = "setuptools";
|
2022-07-27 03:27:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hykilpikonna";
|
2022-10-31 10:08:27 +00:00
|
|
|
repo = "hyfetch";
|
2022-08-13 23:43:18 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2023-12-03 19:44:00 +00:00
|
|
|
hash = "sha256-xzN/tbS5BUvpKeozesE99gNp3NRDjvf4Qx7BHLc4svo=";
|
2022-07-27 03:27:51 +00:00
|
|
|
};
|
|
|
|
|
2022-10-31 10:08:27 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2022-07-27 03:27:51 +00:00
|
|
|
typing-extensions
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2022-10-31 10:08:27 +00:00
|
|
|
# No test available
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"hyfetch"
|
|
|
|
];
|
|
|
|
|
2022-07-27 03:27:51 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "neofetch with pride flags <3";
|
|
|
|
longDescription = ''
|
|
|
|
HyFetch is a command-line system information tool fork of neofetch.
|
|
|
|
HyFetch displays information about your system next to your OS logo
|
|
|
|
in ASCII representation. The ASCII representation is then colored in
|
|
|
|
the pattern of the pride flag of your choice. The main purpose of
|
|
|
|
HyFetch is to be used in screenshots to show other users what
|
|
|
|
operating system or distribution you are running, what theme or
|
|
|
|
icon set you are using, etc.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/hykilpikonna/HyFetch";
|
|
|
|
license = licenses.mit;
|
|
|
|
mainProgram = "hyfetch";
|
2022-08-01 22:05:11 +00:00
|
|
|
maintainers = with maintainers; [ yisuidenghua ];
|
2022-07-27 03:27:51 +00:00
|
|
|
};
|
|
|
|
}
|