pylibgen: init at 1.3.1
This commit is contained in:
parent
78ab516964
commit
c00d76cc29
28
pkgs/development/python-modules/pylibgen/default.nix
Normal file
28
pkgs/development/python-modules/pylibgen/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ buildPythonPackage, python, lib, fetchPypi
|
||||
, isPy3k
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylibgen";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1rviqi3rf62b43cabdy8c2cdznjv034mp0qrfrzvkih4jlkhyfrh";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# It's not using unittest
|
||||
checkPhase = "${python.interpreter} tests/test_pylibgen.py -c 'test_api_endpoints()'";
|
||||
|
||||
meta = {
|
||||
description = "Python interface to Library Genesis";
|
||||
homepage = https://pypi.org/project/pylibgen/;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.nico202 ];
|
||||
};
|
||||
}
|
@ -14412,6 +14412,8 @@ in {
|
||||
|
||||
pylibacl = callPackage ../development/python-modules/pylibacl { };
|
||||
|
||||
pylibgen = callPackage ../development/python-modules/pylibgen { };
|
||||
|
||||
pyliblo = buildPythonPackage rec {
|
||||
name = "pyliblo-${version}";
|
||||
version = "0.9.2";
|
||||
|
Loading…
Reference in New Issue
Block a user