tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
libnotify: enable gobject introspection
Luca Bruno
12 years ago
dd23d9a5
c6383af3
+5
-12
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
libnotify
default.nix
+5
-12
pkgs/development/libraries/libnotify/default.nix
···
1
-
{ stdenv, fetchurl, pkgconfig, automake, autoconf, libtool, glib, gdk_pixbuf }:
0
2
3
stdenv.mkDerivation rec {
4
ver_maj = "0.7";
···
9
url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
10
sha256 = "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf";
11
};
12
-
src_m4 = fetchurl {
13
-
url = "mirror://gentoo/distfiles/introspection-20110205.m4.tar.bz2";
14
-
sha256 = "1cnqh7aaji648nfd5537v7xaak8hgww3bpifhwam7bl0sc3ad523";
15
-
};
16
17
# see Gentoo ebuild - we don't need to depend on gtk+(2/3)
18
-
preConfigure = ''
19
-
cd m4
20
-
tar xvf ${src_m4}
21
-
cd ..
22
-
23
sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die
24
sed -i -e '/PKG_CHECK_MODULES(TESTS/d' configure.ac || die
25
-
AT_M4DIR=. autoreconf
26
'';
27
28
-
buildInputs = [ pkgconfig automake autoconf glib gdk_pixbuf ];
0
29
30
meta = {
31
homepage = http://galago-project.org/; # very obsolete but found no better
···
1
+
{ stdenv, fetchurl, pkgconfig, automake, autoconf, libtool
2
+
, glib, gdk_pixbuf, gobjectIntrospection, autoreconfHook }:
3
4
stdenv.mkDerivation rec {
5
ver_maj = "0.7";
···
10
url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
11
sha256 = "0dyq8zgjnnzcah31axnx6afb21kl7bks1gvrg4hjh3nk02j1rxhf";
12
};
0
0
0
0
13
14
# see Gentoo ebuild - we don't need to depend on gtk+(2/3)
15
+
preAutoreconf = ''
0
0
0
0
16
sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die
17
sed -i -e '/PKG_CHECK_MODULES(TESTS/d' configure.ac || die
0
18
'';
19
20
+
buildInputs = [ pkgconfig automake autoconf autoreconfHook
21
+
libtool glib gdk_pixbuf gobjectIntrospection ];
22
23
meta = {
24
homepage = http://galago-project.org/; # very obsolete but found no better