pythonPackages.Logbook: 0.4.2 -> 0.11.3, enable tests
This commit is contained in:
parent
4d1405091d
commit
9e988d4f70
@ -22980,14 +22980,20 @@ in modules // {
|
|||||||
|
|
||||||
Logbook = buildPythonPackage rec {
|
Logbook = buildPythonPackage rec {
|
||||||
name = "Logbook-${version}";
|
name = "Logbook-${version}";
|
||||||
version = "0.4.2";
|
version = "0.11.3";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/L/Logbook/${name}.tar.gz";
|
url = "https://pypi.python.org/packages/source/L/Logbook/${name}.tar.gz";
|
||||||
# md5 = "143cb15af4c4a784ca785a1546ad1b93";
|
sha256 = "0bchn00jj0y4dmrmqsm29ffcx37g79jcxjihadmgz2aj0z6dbsrc";
|
||||||
sha256 = "1g2pnhxh7m64qsrs0ifwcmpfk7gqjvrawd8z66i001rsdnq778v0";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ self.pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
find tests -name \*.pyc -delete
|
||||||
|
py.test tests
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://pythonhosted.org/Logbook/;
|
homepage = http://pythonhosted.org/Logbook/;
|
||||||
description = "A logging replacement for Python";
|
description = "A logging replacement for Python";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user