2019-01-31 10:00:50 -08:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2019-02-10 10:02:24 -08:00
|
|
|
, fetchPypi
|
2019-01-31 10:00:50 -08:00
|
|
|
, nose
|
|
|
|
, coverage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "isbnlib";
|
2021-05-10 02:01:58 -07:00
|
|
|
version = "3.10.8";
|
2019-01-31 10:00:50 -08:00
|
|
|
|
2019-02-10 10:02:24 -08:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-05-10 02:01:58 -07:00
|
|
|
sha256 = "sha256-6kBu8uFDiKs5ZJXw9gTS08lstaJWuWvAVW3Ycc19x7Q=";
|
2019-01-31 10:00:50 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
coverage
|
|
|
|
];
|
|
|
|
|
|
|
|
# requires network connection
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-05-10 02:01:58 -07:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"isbnlib"
|
|
|
|
"isbnlib.config"
|
|
|
|
"isbnlib.dev"
|
|
|
|
"isbnlib.dev.helpers"
|
|
|
|
"isbnlib.registry"
|
|
|
|
];
|
2021-01-27 02:09:47 -08:00
|
|
|
|
2019-01-31 10:00:50 -08:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Extract, clean, transform, hyphenate and metadata for ISBNs";
|
2020-04-06 14:24:01 -07:00
|
|
|
homepage = "https://github.com/xlcnd/isbnlib";
|
2021-04-13 00:56:56 -07:00
|
|
|
license = licenses.lgpl3Plus;
|
2019-01-31 10:00:50 -08:00
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|