nixpkgs-suyu/pkgs/development/python-modules/twine/default.nix
2019-11-22 08:42:09 +01:00

34 lines
724 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pkginfo
, requests
, requests_toolbelt
, tqdm
, pyblake2
, readme_renderer
}:
buildPythonPackage rec {
pname = "twine";
version = "2.0.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "9fe7091715c7576df166df8ef6654e61bada39571783f2fd415bdcba867c6993";
};
propagatedBuildInputs = [ pkginfo requests requests_toolbelt tqdm pyblake2 readme_renderer ];
# 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 ];
};
}