2017-09-26 18:32:15 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkginfo
|
|
|
|
, requests
|
|
|
|
, requests_toolbelt
|
|
|
|
, tqdm
|
|
|
|
, pyblake2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "twine";
|
|
|
|
version = "1.9.1";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "caa45b7987fc96321258cd7668e3be2ff34064f5c66d2d975b641adca659c1ab";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkginfo requests requests_toolbelt tqdm pyblake2 ];
|
|
|
|
|
|
|
|
# Requires network
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Collection of utilities for interacting with PyPI";
|
|
|
|
homepage = https://github.com/pypa/twine;
|
|
|
|
license = lib.licenses.asl20;
|
2017-12-05 22:20:11 +00:00
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
2017-09-26 18:32:15 +01:00
|
|
|
};
|
2017-12-05 22:20:11 +00:00
|
|
|
}
|