From 3aaec79aedac6318870852dad9e74f829dc31c6c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 14 Jan 2015 07:09:47 +0100 Subject: [PATCH] Python: click: upgrade 2.1 -> 3.3 (!) --- pkgs/top-level/python-packages.nix | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 47160cb6be17..7e421e14b770 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1465,21 +1465,26 @@ let }; }; + click = buildPythonPackage rec { + name = "click-3.3"; - click = buildPythonPackage { - name = "click-2.1"; src = pkgs.fetchurl { - url = https://pypi.python.org/packages/source/c/click/click-2.1.tar.gz; - md5 = "0ba97ba09af82c56e2d35f3412d0aa6e"; + url = "https://pypi.python.org/packages/source/c/click/${name}.tar.gz"; + sha256 = "1rfn8ml80rw3hkgpm1an5p3vdyhh7hzx4zynr8dhfl7bsw28r77p"; }; - meta = { - homepage = "http://click.pocoo.org/"; - description = "A Python package for creating beautiful command line interfaces in a composable way with as little code as necessary"; - license = stdenv.lib.licenses.bsd3; + + meta = with stdenv.lib; { + homepage = http://click.pocoo.org/; + description = "Create beautiful command line interfaces in Python"; + longDescription = '' + A Python package for creating beautiful command line interfaces in a + composable way, with as little code as necessary. + ''; + license = with licenses; [ bsd3 ]; + maintainers = with maintainers; [ nckx ]; }; }; - clepy = buildPythonPackage rec { name = "clepy-0.3.20";