nixpkgs/pkgs/development/python-modules/isbnlib/default.nix

40 lines
727 B
Nix
Raw Normal View History

2019-01-31 18:00:50 +00:00
{ lib
, buildPythonPackage
2019-02-10 18:02:24 +00:00
, fetchPypi
2019-01-31 18:00:50 +00:00
, nose
, coverage
}:
buildPythonPackage rec {
pname = "isbnlib";
version = "3.10.8";
2019-01-31 18:00:50 +00:00
2019-02-10 18:02:24 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-6kBu8uFDiKs5ZJXw9gTS08lstaJWuWvAVW3Ycc19x7Q=";
2019-01-31 18:00:50 +00:00
};
checkInputs = [
nose
coverage
];
# requires network connection
doCheck = false;
pythonImportsCheck = [
"isbnlib"
"isbnlib.config"
"isbnlib.dev"
"isbnlib.dev.helpers"
"isbnlib.registry"
];
2019-01-31 18:00:50 +00:00
meta = with lib; {
description = "Extract, clean, transform, hyphenate and metadata for ISBNs";
homepage = "https://github.com/xlcnd/isbnlib";
license = licenses.lgpl3Plus;
2019-01-31 18:00:50 +00:00
maintainers = with maintainers; [ dotlambda ];
};
}