3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/twine/default.nix

35 lines
724 B
Nix
Raw Normal View History

2017-09-26 18:32:15 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
2017-09-26 18:32:15 +01:00
, 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-10-16 16:00:51 +01:00
version = "2.0.0";
disabled = pythonOlder "3.6";
2017-09-26 18:32:15 +01:00
src = fetchPypi {
inherit pname version;
2019-10-16 16:00:51 +01:00
sha256 = "9fe7091715c7576df166df8ef6654e61bada39571783f2fd415bdcba867c6993";
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;
maintainers = with lib.maintainers; [ fridh ];
2017-09-26 18:32:15 +01:00
};
}