python.pkgs.backport_functools_lru_cache: set to null conditionally

This commit is contained in:
Frederik Rietdijk 2018-01-24 14:00:02 +01:00
parent 769342b37b
commit a6bb22853a

View File

@ -2,9 +2,10 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, setuptools_scm , setuptools_scm
, pythonOlder
}: }:
buildPythonPackage rec { if !(pythonOlder "3.3") then null else buildPythonPackage rec {
pname = "backports.functools_lru_cache"; pname = "backports.functools_lru_cache";
version = "1.4"; version = "1.4";