pythonPackages: remove traces of Python 2.6

This commit is contained in:
Frederik Rietdijk
2018-06-25 10:50:44 +02:00
parent 6806fb5e48
commit 1dd0109c8c
7 changed files with 32 additions and 63 deletions

View File

@@ -1,17 +1,14 @@
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27, isPy26, isPyPy, mock, futures }:
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27, isPyPy, mock, futures }:
buildPythonPackage rec {
pname = "trollius";
version = "1.0.4";
name = "${pname}-${version}";
disabled = isPy26;
src = fetchPypi {
inherit pname version;
sha256 = "0xny8y12x3wrflmyn6xi8a7n3m3ac80fgmgzphx5jbbaxkjcm148";
};
buildInputs = [ mock ];
checkInputs = [ mock ];
propagatedBuildInputs = lib.optionals (isPy27 || isPyPy) [ futures ];