forked from mirrors/nixpkgs
python.pkgs.isbnlib: init at 3.9.4
This commit is contained in:
parent
8a22450530
commit
451c11f89f
35
pkgs/development/python-modules/isbnlib/default.nix
Normal file
35
pkgs/development/python-modules/isbnlib/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, nose
|
||||
, coverage
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "isbnlib";
|
||||
version = "3.9.4";
|
||||
|
||||
# PyPI tarball is missing LICENSE file
|
||||
# See https://github.com/xlcnd/isbnlib/pull/53
|
||||
src = fetchFromGitHub {
|
||||
owner = "xlcnd";
|
||||
repo = "isbnlib";
|
||||
rev = "v${version}";
|
||||
sha256 = "0gc0k5khf34b4zz56a9zc3rscdhj3bx849lbzgmzpji30sbyy1fh";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
coverage
|
||||
];
|
||||
|
||||
# requires network connection
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extract, clean, transform, hyphenate and metadata for ISBNs";
|
||||
homepage = https://github.com/xlcnd/isbnlib;
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -1879,6 +1879,8 @@ in {
|
|||
|
||||
ipfsapi = callPackage ../development/python-modules/ipfsapi { };
|
||||
|
||||
isbnlib = callPackage ../development/python-modules/isbnlib { };
|
||||
|
||||
itsdangerous = callPackage ../development/python-modules/itsdangerous { };
|
||||
|
||||
iniparse = callPackage ../development/python-modules/iniparse { };
|
||||
|
|
Loading…
Reference in a new issue