hyfetch: modernize
- add pythonImportsCheck
This commit is contained in:
parent
0f83d8829a
commit
42ea09fbab
2 changed files with 18 additions and 7 deletions
|
@ -1,21 +1,32 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, typing-extensions, setuptools }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "HyFetch";
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "hyfetch";
|
||||
version = "1.4.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "hyfetch";
|
||||
owner = "hykilpikonna";
|
||||
repo = "hyfetch";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-ScdcV1ojtVz/OdR7k+y7Wj4VAne++8LY9Vz+wO3CJGI=";
|
||||
hash = "sha256-ScdcV1ojtVz/OdR7k+y7Wj4VAne++8LY9Vz+wO3CJGI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
typing-extensions
|
||||
setuptools
|
||||
];
|
||||
|
||||
# No test available
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"hyfetch"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "neofetch with pride flags <3";
|
||||
longDescription = ''
|
||||
|
|
|
@ -36428,7 +36428,7 @@ with pkgs;
|
|||
|
||||
hplipWithPlugin = hplip.override { withPlugin = true; };
|
||||
|
||||
hyfetch = python3Packages.callPackage ../tools/misc/hyfetch { };
|
||||
hyfetch = callPackage ../tools/misc/hyfetch { };
|
||||
|
||||
hyperfine = callPackage ../tools/misc/hyperfine {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
|
Loading…
Reference in a new issue