From 0af84da84bad7fcba3b514922080626a77280710 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 1 May 2017 09:54:06 +0200 Subject: [PATCH] pythonPackages.colorclass: disable tests --- pkgs/top-level/python-packages.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e1bd993240ea..e0d977bb83c0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2466,14 +2466,18 @@ in { }; colorclass = buildPythonPackage rec { + pname = "colorclass"; version = "2.2.0"; - name = "colorclass-${version}"; + name = "${pname}-${version}"; - src = pkgs.fetchurl { - url = "mirror://pypi/c/colorclass/${name}.tar.gz"; + src = fetchPypi { + inherit pname version; sha256 = "b05c2a348dfc1aff2d502527d78a5b7b7e2f85da94a96c5081210d8e9ee8e18b"; }; + # No tests in archive + doCheck = false; + meta = { homepage = "https://github.com/Robpol86/colorclass"; license = licenses.mit;