3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pylibgen/default.nix

32 lines
620 B
Nix
Raw Normal View History

{ buildPythonPackage, lib, fetchPypi
2018-02-09 15:43:06 +00:00
, isPy3k
, requests
, pytest
2018-02-09 15:43:06 +00:00
}:
buildPythonPackage rec {
pname = "pylibgen";
2019-02-14 07:37:26 +00:00
version = "2.0.1";
2018-02-09 15:43:06 +00:00
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:26 +00:00
sha256 = "3c2a82b47cb7225dcf4ecea27081b0185ae4d195499140cdbb9597d914e1ae9e";
2018-02-09 15:43:06 +00:00
};
disabled = !isPy3k;
propagatedBuildInputs = [ requests ];
checkInputs = [ pytest ];
# no tests in PyPI tarball
doCheck = false;
2018-02-09 15:43:06 +00:00
meta = {
description = "Python interface to Library Genesis";
homepage = https://pypi.org/project/pylibgen/;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.nico202 ];
};
}