python3Packages.hiyapyco: 0.5.1 -> 0.5.4
This commit is contained in:
parent
ac1b1c6150
commit
f4843bd5b2
1 changed files with 12 additions and 3 deletions
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue