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