Merge pull request #191597 from r-ryantm/auto-update/python310Packages.hiyapyco

python310Packages.hiyapyco: 0.5.0 -> 0.5.1
This commit is contained in:
Jonas Heinrich 2022-09-20 11:04:33 +02:00 committed by GitHub
commit 3d01126070
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "hiyapyco";
version = "0.5.0";
version = "0.5.1";
src = fetchFromGitHub {
owner = "zerwes";
repo = pname;
rev = "refs/tags/release-${version}";
sha256 = "sha256-v+q7MOJvRc8rzBzwf27jmuIHpZeYGDK7VbzB98qnhrQ=";
sha256 = "sha256-MVJoMnEi+319ZkhffYWYVi/wj0Ihm0nfVeEXvx7Ac/4=";
};
propagatedBuildInputs = [
@ -21,13 +21,6 @@ buildPythonPackage rec {
jinja2
];
postPatch = ''
# Should no longer be needed with the next release
# https://github.com/zerwes/hiyapyco/pull/42
substituteInPlace setup.py \
--replace "Jinja2>1,<3" "Jinja2>1"
'';
checkPhase = ''
set -e
find test -name 'test_*.py' -exec python {} \;