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