1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, coverage
6}:
7
8buildPythonPackage rec {
9 pname = "isbnlib";
10 version = "3.10.9";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-P4GH6462+gJ9Jv8HdfKr1CDinOMyeUv1Uqhqa9ukcLg=";
15 };
16
17 checkInputs = [
18 nose
19 coverage
20 ];
21
22 # requires network connection
23 doCheck = false;
24
25 pythonImportsCheck = [
26 "isbnlib"
27 "isbnlib.config"
28 "isbnlib.dev"
29 "isbnlib.dev.helpers"
30 "isbnlib.registry"
31 ];
32
33 meta = with lib; {
34 description = "Extract, clean, transform, hyphenate and metadata for ISBNs";
35 homepage = "https://github.com/xlcnd/isbnlib";
36 license = licenses.lgpl3Plus;
37 maintainers = with maintainers; [ dotlambda ];
38 };
39}