From c6a7d8e10f1e04ccef93d51459697c4b0a3a8f66 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 3 Dec 2016 12:59:11 +0100 Subject: [PATCH] pythonPackages.flit: init at 0.10 --- pkgs/top-level/python-packages.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 85feb55ffa0f..3575018870f3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6866,6 +6866,29 @@ in { propagatedBuildInputs = with self; [ rpkg offtrac urlgrabber fedora_cert ]; }); + flit = buildPythonPackage rec { + pname = "flit"; + version = "0.10"; + name = "${pname}-${version}"; + + format = "wheel"; + + src = pkgs.fetchurl { + url = https://files.pythonhosted.org/packages/24/98/50a090112a04d9e29155c31a222637668b0a4dd778fefcd3132adc50e877/flit-0.10-py3-none-any.whl; + sha256 = "4566b2e1807abeb1fd7bfaa9b444447556f1720518edfb134b56a6a1272b0428"; + }; + + disabled = !isPy3k; + propagatedBuildInputs = with self; [ docutils requests2 requests_download zipfile36]; + + meta = { + description = "A simple packaging tool for simple packages"; + homepage = https://github.com/takluyver/flit; + license = licenses.bsd3; + maintainer = maintainers.fridh; + }; + }; + Flootty = buildPythonPackage rec { name = "Flootty-3.2.0";