2017-09-26 18:32:15 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkginfo
|
|
|
|
, requests
|
|
|
|
, requests_toolbelt
|
|
|
|
, tqdm
|
|
|
|
, pyblake2
|
2018-10-25 19:16:20 +01:00
|
|
|
, readme_renderer
|
2017-09-26 18:32:15 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "twine";
|
2019-02-14 07:37:31 +00:00
|
|
|
version = "1.13.0";
|
2017-09-26 18:32:15 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:31 +00:00
|
|
|
sha256 = "d6c29c933ecfc74e9b1d9fa13aa1f87c5d5770e119f5a4ce032092f0ff5b14dc";
|
2017-09-26 18:32:15 +01:00
|
|
|
};
|
|
|
|
|
2018-10-25 19:16:20 +01:00
|
|
|
propagatedBuildInputs = [ pkginfo requests requests_toolbelt tqdm pyblake2 readme_renderer ];
|
2017-09-26 18:32:15 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
}
|