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";
|
2021-04-12 13:22:49 +02:00
|
|
|
version = "3.10.7";
|
2019-01-31 19:00:50 +01:00
|
|
|
|
2019-02-10 19:02:24 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-12 13:22:49 +02:00
|
|
|
sha256 = "sha256-gbMxV9qOLCpIH3rUceG1ds9ZUpjwOv1gyYL3GLkS3Ik=";
|
2019-01-31 19:00:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
coverage
|
|
|
|
];
|
|
|
|
|
|
|
|
# requires network connection
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-27 11:09:47 +01:00
|
|
|
pythonImportsCheck = [ "isbnlib" ];
|
|
|
|
|
2019-01-31 19:00:50 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Extract, clean, transform, hyphenate and metadata for ISBNs";
|
2020-04-06 23:24:01 +02:00
|
|
|
homepage = "https://github.com/xlcnd/isbnlib";
|
2021-04-13 09:56:56 +02:00
|
|
|
license = licenses.lgpl3Plus;
|
2019-01-31 19:00:50 +01:00
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|