python3Packages.pylibgen: 2.0.1 -> 2.0.2
This commit is contained in:
parent
2b2d8919e8
commit
7055dee84d
@ -1,31 +1,33 @@
|
|||||||
{ buildPythonPackage, lib, fetchPypi
|
{ lib, buildPythonPackage, fetchFromGitHub
|
||||||
, isPy3k
|
, pythonOlder
|
||||||
, requests
|
, requests
|
||||||
, pytest
|
, pytest
|
||||||
|
, pre-commit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pylibgen";
|
pname = "pylibgen";
|
||||||
version = "2.0.1";
|
version = "2.0.2";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "joshuarli";
|
||||||
sha256 = "3c2a82b47cb7225dcf4ecea27081b0185ae4d195499140cdbb9597d914e1ae9e";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1a9vhkgnkiwkicr2s287254mrkpnw9jq5r63q820dp3h74ba4kl1";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = !isPy3k;
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest pre-commit ];
|
||||||
|
|
||||||
# no tests in PyPI tarball
|
# literally every tests does a network call
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Python interface to Library Genesis";
|
description = "Python interface to Library Genesis";
|
||||||
homepage = https://pypi.org/project/pylibgen/;
|
homepage = https://pypi.org/project/pylibgen/;
|
||||||
license = lib.licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ lib.maintainers.nico202 ];
|
maintainers = [ maintainers.nico202 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user