Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 48 lines 920 B view raw
1{ lib, buildPythonPackage, fetchPypi, pythonOlder 2, importlib-metadata 3, keyring 4, pkginfo 5, pyblake2 6, readme_renderer 7, requests 8, requests_toolbelt 9, setuptools_scm 10, tqdm 11, colorama 12, rfc3986 13}: 14 15buildPythonPackage rec { 16 pname = "twine"; 17 version = "3.4.1"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "a56c985264b991dc8a8f4234eb80c5af87fa8080d0c224ad8f2cd05a2c22e83b"; 23 }; 24 25 nativeBuildInputs = [ setuptools_scm ]; 26 propagatedBuildInputs = [ 27 importlib-metadata 28 keyring 29 pkginfo 30 pyblake2 31 readme_renderer 32 requests 33 requests_toolbelt 34 tqdm 35 colorama 36 rfc3986 37 ]; 38 39 # Requires network 40 doCheck = false; 41 42 meta = { 43 description = "Collection of utilities for interacting with PyPI"; 44 homepage = "https://github.com/pypa/twine"; 45 license = lib.licenses.asl20; 46 maintainers = with lib.maintainers; [ fridh ]; 47 }; 48}