depot/third_party/nixpkgs/pkgs/development/python-modules/isbnlib/default.nix
Default email 686ce24904 Project import generated by Copybara.
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
2023-02-16 18:41:37 +01:00

43 lines
804 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, coverage
, pythonOlder
}:
buildPythonPackage rec {
pname = "isbnlib";
version = "3.10.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Rnk0H1ag35HGNeg4oiLOfxB1XLW8yVSOP3qK/1Z009Q=";
};
nativeCheckInputs = [
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 ];
};
}