2017-09-26 19:32:15 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkginfo
|
|
|
|
, requests
|
|
|
|
, requests_toolbelt
|
|
|
|
, tqdm
|
|
|
|
, pyblake2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "twine";
|
2018-05-09 06:40:32 +02:00
|
|
|
version = "1.11.0";
|
2017-09-26 19:32:15 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-05-09 06:40:32 +02:00
|
|
|
sha256 = "09cz9v63f8mrs4znbjapjj2z3wdfryq8q364zm0wzjhbzzcs9n9g";
|
2017-09-26 19:32:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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 23:20:11 +01:00
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
2017-09-26 19:32:15 +02:00
|
|
|
};
|
2017-12-05 23:20:11 +01:00
|
|
|
}
|