c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
43 lines
798 B
Nix
43 lines
798 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, coverage
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "isbnlib";
|
|
version = "3.10.12";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-FOZNsZK8PTPJhK0BvGQiPqCr8au3rwHsjE3dCKWGtDM=";
|
|
};
|
|
|
|
checkInputs = [
|
|
nose
|
|
coverage
|
|
];
|
|
|
|
# requires network connection
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"isbnlib"
|
|
"isbnlib.config"
|
|
"isbnlib.dev"
|
|
"isbnlib.dev.helpers"
|
|
"isbnlib.registry"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Extract, clean, transform, hyphenate and metadata for ISBNs";
|
|
homepage = "https://github.com/xlcnd/isbnlib";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|