32 lines
603 B
Nix
32 lines
603 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, coverage
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "isbnlib";
|
|
version = "3.10.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f5bfbc362e2a73dfc82449ac459b59a7f6b20bcebf82f6bd87d773dc45073646";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|