mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #170242 from armeenm/libglade-remove-python2
gnome2.libglade: remove python2-dependent functionality
This commit is contained in:
commit
71285d11fd
@ -1,6 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, gtk2, libxml2, python2 ? null, withLibgladeConvert ? false, gettext }:
|
{ lib, stdenv, fetchurl, pkg-config, gtk2, libxml2, gettext }:
|
||||||
|
|
||||||
assert withLibgladeConvert -> python2 != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libglade";
|
pname = "libglade";
|
||||||
@ -14,8 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ gtk2 gettext ]
|
buildInputs = [ gtk2 gettext ];
|
||||||
++ lib.optional withLibgladeConvert python2;
|
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lgmodule-2.0";
|
NIX_LDFLAGS = "-lgmodule-2.0";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user