python: flit: 1.3 -> 2.3.0

This commit is contained in:
Frederik Rietdijk 2020-05-09 11:17:42 +02:00
parent 23561d91da
commit b5160ada32

View file

@ -11,6 +11,7 @@
, testpath
, responses
, pytoml
, flit-core
}:
# Flit is actually an application to build universal wheels.
@ -20,16 +21,23 @@
buildPythonPackage rec {
pname = "flit";
version = "1.3";
version = "2.3.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "6f6f0fb83c51ffa3a150fa41b5ac118df9ea4a87c2c06dff4ebf9adbe7b52b36";
sha256 = "017012b809ec489918afd68af7a70bd7c8c770c87b60159d875c126866e97a4b";
};
propagatedBuildInputs = [ docutils requests requests_download pytoml ]
++ lib.optional (pythonOlder "3.6") zipfile36;
propagatedBuildInputs = [
docutils
requests
requests_download
pytoml
flit-core
] ++ lib.optionals (pythonOlder "3.6") [
zipfile36
];
checkInputs = [ pytest_4 testpath responses ];