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 { lib, buildPythonPackage, fetchPypi, pythonOlder
, buildPythonPackage , importlib-metadata
, fetchPypi , keyring
, pythonOlder
, pkginfo , pkginfo
, requests
, requests_toolbelt
, tqdm
, pyblake2 , pyblake2
, readme_renderer , readme_renderer
, requests
, requests_toolbelt
, setuptools_scm
, tqdm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -20,7 +20,16 @@ buildPythonPackage rec {
sha256 = "d561a5e511f70275e5a485a6275ff61851c16ffcb3a95a602189161112d9f160"; 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 # Requires network
doCheck = false; doCheck = false;