libredwg: python is optional

This commit is contained in:
Frederik Rietdijk 2021-03-26 10:56:56 +01:00
parent d20a05e963
commit 939a00f04b

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, texinfo, pcre2
, enablePython ? false, python, swig, libxml2, ncurses
, enablePython ? false, python ? null, swig, libxml2, ncurses
}:
let
isPython3 = enablePython && python.pythonAtLeast "3";