blob: 18a47ca485745478be90ecd45f202765d6374e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
hypothesis,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "pyisbn";
version = "1.3.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-cPVjgXlps/8IUGieULx/917puGXD+A+DWWSxMGxO1Rk=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "pyisbn" ];
meta = {
description = "Python module for working with 10- and 13-digit ISBNs";
homepage = "https://github.com/JNRowe/pyisbn";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ eigengrau ];
};
}
|