python3Packages.wrapt: enable tests
This commit is contained in:
parent
c7413438d8
commit
ee3363259c
1 changed files with 19 additions and 9 deletions
|
@ -1,23 +1,33 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "wrapt";
|
pname = "wrapt";
|
||||||
version = "1.13.3";
|
version = "1.13.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
# No tests in archive
|
src = fetchFromGitHub {
|
||||||
doCheck = false;
|
owner = "GrahamDumpleton";
|
||||||
|
repo = pname;
|
||||||
src = fetchPypi {
|
rev = version;
|
||||||
inherit pname version;
|
hash = "sha256-kq3Ujkn4HzonzjuQfVnPNnQV+2Rnbr3ZfYmrnY3upxU=";
|
||||||
sha256 = "1fea9cd438686e6682271d36f3481a9f3636195578bab9ca3382e2f5f01fc185";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"wrapt"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Module for decorators, wrappers and monkey patching";
|
description = "Module for decorators, wrappers and monkey patching";
|
||||||
license = lib.licenses.bsd2;
|
|
||||||
homepage = "https://github.com/GrahamDumpleton/wrapt";
|
homepage = "https://github.com/GrahamDumpleton/wrapt";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue