nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 66 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 id, 6 keyring, 7 packaging, 8 pkginfo, 9 readme-renderer, 10 requests, 11 requests-toolbelt, 12 rich, 13 rfc3986, 14 setuptools, 15 setuptools-scm, 16 urllib3, 17 build, 18 pretend, 19 pytest-socket, 20 pytestCheckHook, 21}: 22 23buildPythonPackage rec { 24 pname = "twine"; 25 version = "6.2.0"; 26 pyproject = true; 27 28 src = fetchPypi { 29 inherit pname version; 30 hash = "sha256-5e0NL9cMmVl3Dc5RyPOciUXFdOGBc6e4GALatRtLdc8="; 31 }; 32 33 build-system = [ 34 setuptools 35 setuptools-scm 36 ]; 37 38 dependencies = [ 39 id 40 keyring 41 packaging 42 pkginfo 43 readme-renderer 44 requests 45 requests-toolbelt 46 rfc3986 47 rich 48 urllib3 49 ]; 50 51 nativeCheckInputs = [ 52 build 53 pretend 54 pytest-socket 55 pytestCheckHook 56 ]; 57 58 pythonImportsCheck = [ "twine" ]; 59 60 meta = { 61 description = "Collection of utilities for interacting with PyPI"; 62 mainProgram = "twine"; 63 homepage = "https://github.com/pypa/twine"; 64 license = lib.licenses.asl20; 65 }; 66}