2019-01-31 19:00:50 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2019-02-10 19:02:24 +01:00
|
|
|
, fetchPypi
|
2019-01-31 19:00:50 +01:00
|
|
|
, nose
|
|
|
|
, coverage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "isbnlib";
|
2019-02-10 19:02:24 +01:00
|
|
|
version = "3.9.5";
|
2019-01-31 19:00:50 +01:00
|
|
|
|
2019-02-10 19:02:24 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "f500a0561b83a2982d3424d640243d05bda9716f4fe9a655e331f3a07ca02710";
|
2019-01-31 19:00:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
coverage
|
|
|
|
];
|
|
|
|
|
|
|
|
# requires network connection
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Extract, clean, transform, hyphenate and metadata for ISBNs";
|
|
|
|
homepage = https://github.com/xlcnd/isbnlib;
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|