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-04-06 22:24:01 +01:00
|
|
|
version = "3.10.0";
|
2019-01-31 18:00:50 +00:00
|
|
|
|
2019-02-10 18:02:24 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-06 22:24:01 +01:00
|
|
|
sha256 = "1p7iaa6ykvhalpv09svxs50hnp25j5nv1zzp42n5r7a7rw70wlf8";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|