python3Packages.twine: fix build deps

This commit is contained in:
Jonathan Ringer 2019-12-22 11:50:24 -08:00 committed by Frederik Rietdijk
parent 54b0ae4aa3
commit e3f435fa95

View file

@ -1,13 +1,13 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, importlib-metadata
, keyring
, pkginfo
, requests
, requests_toolbelt
, tqdm
, pyblake2
, readme_renderer
, requests
, requests_toolbelt
, setuptools_scm
, tqdm
}:
buildPythonPackage rec {
@ -20,7 +20,16 @@ buildPythonPackage rec {
sha256 = "d561a5e511f70275e5a485a6275ff61851c16ffcb3a95a602189161112d9f160";
};
propagatedBuildInputs = [ pkginfo requests requests_toolbelt tqdm pyblake2 readme_renderer ];
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [
keyring
pkginfo
pyblake2
readme_renderer
requests
requests_toolbelt
tqdm
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
# Requires network
doCheck = false;