python3Packages.vine: switch to pytestCheckHook
This commit is contained in:
parent
36797a3c65
commit
664b8d39b7
1 changed files with 19 additions and 5 deletions
|
@ -1,22 +1,36 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
, case, pytest, pythonOlder }:
|
, buildPythonPackage
|
||||||
|
, case
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "vine";
|
pname = "vine";
|
||||||
version = "5.0.0";
|
version = "5.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disable = pythonOlder "2.7";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "7d3b1624a953da82ef63462013bbd271d3eb75751489f9807598e8f340bd637e";
|
hash = "sha256-fTsWJKlT2oLvY0YgE7vScdPrdXUUifmAdZjo80C9Y34=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ case pytest ];
|
checkInputs = [
|
||||||
|
case
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"vine"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python promises";
|
description = "Python promises";
|
||||||
homepage = "https://github.com/celery/vine";
|
homepage = "https://github.com/celery/vine";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue