From 0ecc0184e9f9cee190faa27ced58fd2f9d8f110c Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 27 Nov 2017 15:56:10 +0100 Subject: [PATCH] python-carbon: disable on Python 3 The package does not work on Python 3. Also add license field. (cherry picked from commit 844f24eb0af24f87af0d7088265f185614745515) --- pkgs/top-level/python-packages.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5151388a5299..57267353457c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -23899,6 +23899,8 @@ EOF name = "carbon-${version}"; version = graphiteVersion; + disabled = isPy3k; + src = pkgs.fetchurl { url = "mirror://pypi/c/carbon/${name}.tar.gz"; sha256 = "142smpmgbnjinvfb6s4ijazish4vfgzyd8zcmdkh55y051fkixkn"; @@ -23910,6 +23912,7 @@ EOF homepage = http://graphite.wikidot.com/; description = "Backend data caching and persistence daemon for Graphite"; maintainers = with maintainers; [ rickynils offline ]; + license = licenses.asl20; }; };