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
, fetchPypi
, setuptools_scm
, pythonOlder
}:
buildPythonPackage rec {
if !(pythonOlder "3.3") then null else buildPythonPackage rec {
pname = "backports.functools_lru_cache";
version = "1.4";