forked from mirrors/nixpkgs
gnome2.libglade: remove python2-dependent functionality
This commit is contained in:
parent
550162327f
commit
09a9078f79
|
@ -1,6 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gtk2, libxml2, python2 ? null, withLibgladeConvert ? false, gettext }:
|
||||
|
||||
assert withLibgladeConvert -> python2 != null;
|
||||
{ lib, stdenv, fetchurl, pkg-config, gtk2, libxml2, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libglade";
|
||||
|
@ -14,8 +12,7 @@ stdenv.mkDerivation rec {
|
|||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ gtk2 gettext ]
|
||||
++ lib.optional withLibgladeConvert python2;
|
||||
buildInputs = [ gtk2 gettext ];
|
||||
|
||||
NIX_LDFLAGS = "-lgmodule-2.0";
|
||||
|
||||
|
|
Loading…
Reference in a new issue