1{ lib
2, buildPythonPackage
3, fetchPypi
4, pkginfo
5, requests
6, requests_toolbelt
7, tqdm
8, pyblake2
9}:
10
11buildPythonPackage rec {
12 pname = "twine";
13 version = "1.9.1";
14 name = "${pname}-${version}";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "caa45b7987fc96321258cd7668e3be2ff34064f5c66d2d975b641adca659c1ab";
19 };
20
21 propagatedBuildInputs = [ pkginfo requests requests_toolbelt tqdm pyblake2 ];
22
23 # Requires network
24 doCheck = false;
25
26 meta = {
27 description = "Collection of utilities for interacting with PyPI";
28 homepage = https://github.com/pypa/twine;
29 license = lib.licenses.asl20;
30 maintainers = with lib.maintainers; [ fridh ];
31 };
32}