12ae5363ea
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
29 lines
957 B
Nix
29 lines
957 B
Nix
{ stdenv, fetchurl, pkgconfig, perl, glib, gnomevfs, libbonobo
|
|
, GConf, popt, zlib }:
|
|
|
|
assert pkgconfig != null && perl != null && glib != null
|
|
&& gnomevfs != null && libbonobo != null && GConf != null
|
|
&& popt != null && zlib != null;
|
|
|
|
# !!! TO CHECK:
|
|
# libgnome tries to install stuff into GConf (which fails):
|
|
# "WARNING: failed to install schema `/schemas/desktop/gnome/url-handlers/https/need-terminal' locale `is': Failed:
|
|
# Failed to create file `/nix/store/14d4fc76451786eba9dea087d56dc719-GConf-2.4.0/etc/gconf/gconf.xml.defaults/%gconf.xml': Permission denied"
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libgnome-2.0.6";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = ftp://ftp.gnome.org/pub/gnome/sources/libgnome/2.4/libgnome-2.4.0.tar.bz2;
|
|
md5 = "caec1e12d64b98a2925a4317ac16429f";
|
|
};
|
|
pkgconfig = pkgconfig;
|
|
perl = perl;
|
|
glib = glib;
|
|
gnomevfs = gnomevfs;
|
|
libbonobo = libbonobo;
|
|
GConf = GConf;
|
|
popt = popt;
|
|
zlib = zlib;
|
|
}
|