nixpkgs/pkgs/tools/misc/hyfetch/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, python3
}:
2022-07-27 03:27:51 +00:00
python3.pkgs.buildPythonApplication rec {
pname = "hyfetch";
2023-12-03 19:44:00 +00:00
version = "1.4.11";
format = "setuptools";
2022-07-27 03:27:51 +00:00
src = fetchFromGitHub {
owner = "hykilpikonna";
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
};
propagatedBuildInputs = with python3.pkgs; [
2022-07-27 03:27:51 +00:00
typing-extensions
setuptools
];
# 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
};
}