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
|
||||
, 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" ];
|
||||
|
|
Loading…
Reference in a new issue