python3Packages.pyzerproc: 0.4.6 -> 0.4.8
This commit is contained in:
parent
5852a21819
commit
ee7a97c759
1 changed files with 6 additions and 8 deletions
|
@ -5,7 +5,6 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-cov
|
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
@ -13,19 +12,18 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyzerproc";
|
pname = "pyzerproc";
|
||||||
version = "0.4.6";
|
version = "0.4.8";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "emlove";
|
owner = "emlove";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1qlxvvy9fyff56dvc46nsd5ngkxqhdi7s4gwfndj7dn76j81srpq";
|
sha256 = "sha256-PNvkgjPcBbnETjWpVF3De9O9IprdpCke0nWvJ9Tju1M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Remove pytest-runner, https://github.com/emlove/pyzerproc/pull/1
|
postPatch = ''
|
||||||
patchPhase = ''
|
sed -i "/--cov/d" setup.cfg
|
||||||
substituteInPlace setup.py --replace "'pytest-runner'," ""
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -34,11 +32,11 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
asynctest
|
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest-cov
|
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
] ++ lib.optionals (pythonOlder "3.8") [
|
||||||
|
asynctest
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pyzerproc" ];
|
pythonImportsCheck = [ "pyzerproc" ];
|
||||||
|
|
Loading…
Reference in a new issue