nixpkgs/pkgs/development/python-modules/twine/default.nix

33 lines
679 B
Nix
Raw Normal View History

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