pythonPackages.Logbook: 0.4.2 -> 0.11.3, enable tests

This commit is contained in:
Domen Kožar 2016-01-24 16:00:39 +01:00
parent 4d1405091d
commit 9e988d4f70

View file

@ -22980,14 +22980,20 @@ in modules // {
Logbook = buildPythonPackage rec {
name = "Logbook-${version}";
version = "0.4.2";
version = "0.11.3";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/L/Logbook/${name}.tar.gz";
# md5 = "143cb15af4c4a784ca785a1546ad1b93";
sha256 = "1g2pnhxh7m64qsrs0ifwcmpfk7gqjvrawd8z66i001rsdnq778v0";
sha256 = "0bchn00jj0y4dmrmqsm29ffcx37g79jcxjihadmgz2aj0z6dbsrc";
};
buildInputs = [ self.pytest ];
checkPhase = ''
find tests -name \*.pyc -delete
py.test tests
'';
meta = {
homepage = http://pythonhosted.org/Logbook/;
description = "A logging replacement for Python";