python3Packages.clickgen: 2.1.3 -> 2.1.8

This commit is contained in:
Martin Weinelt 2023-09-15 14:05:55 +02:00
parent 5a7dfd9776
commit 66ae840e93

View file

@ -3,7 +3,9 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, attrs
, pillow
, pyyaml
, toml
, numpy
, python
@ -12,7 +14,7 @@
buildPythonPackage rec {
pname = "clickgen";
version = "2.1.3";
version = "2.1.8";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -21,19 +23,29 @@ buildPythonPackage rec {
owner = "ful1e5";
repo = "clickgen";
rev = "refs/tags/v${version}";
hash = "sha256-qDaSfIeKCbyl3C2iKz9DYQc1oNwTe5xDlGg/yYhakSw=";
hash = "sha256-74nOqaRZXLOSF4sjydAbF3sRMrw+21+fYDs3hiVSszA=";
};
propagatedBuildInputs = [ pillow toml numpy ];
propagatedBuildInputs = [
attrs
numpy
pillow
pyyaml
toml
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
];
postInstall = ''
# Copying scripts directory needed by clickgen script at $out/bin/
cp -R src/clickgen/scripts $out/${python.sitePackages}/clickgen/scripts
'';
pythonImportsCheck = [ "clickgen" ];
pythonImportsCheck = [
"clickgen"
];
meta = with lib; {
homepage = "https://github.com/ful1e5/clickgen";