linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / twine / default.nix
blob47f9fe1a034ea06c80153b8033ce4474871959cf
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
15 buildPythonPackage rec {
16   pname = "twine";
17   version = "3.2.0";
18   disabled = pythonOlder "3.6";
20   src = fetchPypi {
21     inherit pname version;
22     sha256 = "34352fd52ec3b9d29837e6072d5a2a7c6fe4290e97bba46bb8d478b5c598f7ab";
23   };
25   nativeBuildInputs = [ setuptools_scm ];
26   propagatedBuildInputs = [
27     keyring
28     pkginfo
29     pyblake2
30     readme_renderer
31     requests
32     requests_toolbelt
33     tqdm
34     colorama
35     rfc3986
36   ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
38   # Requires network
39   doCheck = false;
41   meta = {
42     description = "Collection of utilities for interacting with PyPI";
43     homepage = "https://github.com/pypa/twine";
44     license = lib.licenses.asl20;
45     maintainers = with lib.maintainers; [ fridh ];
46   };