2021-01-17 02:21:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk2, libxml2, python2 ? null, withLibgladeConvert ? false, gettext }:
|
2019-08-27 21:40:01 +00:00
|
|
|
|
|
|
|
assert withLibgladeConvert -> python2 != null;
|
2009-09-30 05:27:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libglade-2.6.4";
|
2016-04-27 01:05:00 +00:00
|
|
|
|
2009-09-30 05:27:34 +00:00
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "mirror://gnome/sources/libglade/2.6/libglade-2.6.4.tar.bz2";
|
2009-09-30 06:10:45 +00:00
|
|
|
sha256 = "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4";
|
2009-09-30 05:27:34 +00:00
|
|
|
};
|
2016-04-27 01:05:00 +00:00
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-27 01:05:00 +00:00
|
|
|
|
2021-01-17 02:21:50 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-08-27 21:40:01 +00:00
|
|
|
buildInputs = [ gtk2 gettext ]
|
2021-01-15 13:21:58 +00:00
|
|
|
++ 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 05:27:34 +00:00
|
|
|
}
|