python3Packages.hiyapyco: 0.5.1 -> 0.5.4

This commit is contained in:
Martin Weinelt 2023-12-03 00:01:00 +01:00
parent ac1b1c6150
commit f4843bd5b2
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,30 +1,39 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, setuptools
, pyyaml , pyyaml
, jinja2 , jinja2
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "hiyapyco"; pname = "hiyapyco";
version = "0.5.1"; version = "0.5.4";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zerwes"; owner = "zerwes";
repo = pname; repo = pname;
rev = "refs/tags/release-${version}"; rev = "refs/tags/release-${version}";
hash = "sha256-MVJoMnEi+319ZkhffYWYVi/wj0Ihm0nfVeEXvx7Ac/4="; hash = "sha256-hKTqdclWMKTGeRtQuNj0gYdiGFovFh5FQ2rRjCgbvBM=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
pyyaml pyyaml
jinja2 jinja2
]; ];
checkPhase = '' checkPhase = ''
runHook preCheck
set -e set -e
find test -name 'test_*.py' -exec python {} \; find test -name 'test_*.py' -exec python {} \;
runHook postCheck
''; '';
pythonImportsCheck = [ "hiyapyco" ]; pythonImportsCheck = [ "hiyapyco" ];