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";
|
2019-02-24 23:16:00 +00:00
|
|
|
version = "3.9.6";
|
2019-01-31 18:00:50 +00:00
|
|
|
|
2019-02-10 18:02:24 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-24 23:16:00 +00:00
|
|
|
sha256 = "d4ae098cb31d6c678a6eac074a24f8ba4adfe7df65db13b0b2ab7355f28d6e3b";
|
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";
|
|
|
|
homepage = https://github.com/xlcnd/isbnlib;
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|