2019-08-27 22:40:01 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk2, libxml2, python2 ? null, withLibgladeConvert ? false, gettext }:
|
|
|
|
|
|
|
|
assert withLibgladeConvert -> python2 != null;
|
2009-09-30 06:27:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libglade-2.6.4";
|
2016-04-27 02:05:00 +01:00
|
|
|
|
2009-09-30 06:27:34 +01:00
|
|
|
src = fetchurl {
|
2009-09-30 07:35:09 +01:00
|
|
|
url = mirror://gnome/sources/libglade/2.6/libglade-2.6.4.tar.bz2;
|
2009-09-30 07:10:45 +01:00
|
|
|
sha256 = "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4";
|
2009-09-30 06:27:34 +01:00
|
|
|
};
|
2016-04-27 02:05:00 +01:00
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-27 02:05:00 +01:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-08-27 22:40:01 +01:00
|
|
|
buildInputs = [ gtk2 gettext ]
|
|
|
|
++ stdenv.lib.optional withLibgladeConvert python2;
|
2009-11-04 09:17:27 +00:00
|
|
|
|
2019-01-22 16:31:46 +00:00
|
|
|
NIX_LDFLAGS = "-lgmodule-2.0";
|
|
|
|
|
2009-11-04 09:17:27 +00:00
|
|
|
propagatedBuildInputs = [ libxml2 ];
|
2009-09-30 06:27:34 +01:00
|
|
|
}
|