python.pkgs.twine: 1.8.1 -> 1.9.1

This commit is contained in:
Frederik Rietdijk 2017-09-26 19:32:15 +02:00
parent 1bf5fcad24
commit a6d2058e48
2 changed files with 33 additions and 21 deletions

View File

@ -0,0 +1,32 @@
{ 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;
maintainer = with lib.maintainers; [ fridh ];
};
}

View File

@ -21928,27 +21928,7 @@ in {
};
};
twine = buildPythonPackage rec {
name = "twine-${version}";
version = "1.8.1";
src = pkgs.fetchurl {
url = "mirror://pypi/t/twine/${name}.tar.gz";
sha256 = "68b663691a947b844f92853c992d42bb68b6333bffc9ab7f661346b001c1da82";
};
propagatedBuildInputs = with self; [ clint pkginfo requests requests_toolbelt ];
# Requires network
doCheck = false;
meta = {
description = "Collection of utilities for interacting with PyPI";
homepage = https://github.com/pypa/twine;
license = licenses.asl20;
maintainer = with maintainers; [ fridh ];
};
};
twine = callPackage ../development/python-modules/twine { };
twisted = callPackage ../development/python-modules/twisted { };