2022-11-02 22:02:43 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2022-11-02 22:02:43 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "hyfetch";
|
|
|
|
version = "1.4.3";
|
|
|
|
format = "setuptools";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hykilpikonna";
|
2022-11-02 22:02:43 +00:00
|
|
|
repo = "hyfetch";
|
2022-08-21 13:32:41 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2022-11-02 22:02:43 +00:00
|
|
|
hash = "sha256-ScdcV1ojtVz/OdR7k+y7Wj4VAne++8LY9Vz+wO3CJGI=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2022-11-02 22:02:43 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2022-08-12 12:06:08 +00:00
|
|
|
typing-extensions
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2022-11-02 22:02:43 +00:00
|
|
|
# No test available
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"hyfetch"
|
|
|
|
];
|
|
|
|
|
2022-08-12 12:06:08 +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";
|
|
|
|
maintainers = with maintainers; [ yisuidenghua ];
|
|
|
|
};
|
|
|
|
}
|