2017-09-26 17:32:15 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-11-22 03:11:10 +00:00
|
|
|
, pythonOlder
|
2017-09-26 17:32:15 +00:00
|
|
|
, pkginfo
|
|
|
|
, requests
|
|
|
|
, requests_toolbelt
|
|
|
|
, tqdm
|
|
|
|
, pyblake2
|
2018-10-25 18:16:20 +00:00
|
|
|
, readme_renderer
|
2017-09-26 17:32:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "twine";
|
2019-12-19 19:31:24 +00:00
|
|
|
version = "3.1.1";
|
2019-11-22 03:11:10 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2017-09-26 17:32:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:24 +00:00
|
|
|
sha256 = "d561a5e511f70275e5a485a6275ff61851c16ffcb3a95a602189161112d9f160";
|
2017-09-26 17:32:15 +00:00
|
|
|
};
|
|
|
|
|
2018-10-25 18:16:20 +00:00
|
|
|
propagatedBuildInputs = [ pkginfo requests requests_toolbelt tqdm pyblake2 readme_renderer ];
|
2017-09-26 17:32:15 +00: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 17:32:15 +00:00
|
|
|
};
|
2017-12-05 22:20:11 +00:00
|
|
|
}
|