mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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
22 lines
614 B
Nix
22 lines
614 B
Nix
{stdenv, fetchurl, pkgconfig, perl, glib, gtk, libxml2, ORBit2, popt}:
|
|
|
|
assert pkgconfig != null && perl != null
|
|
&& glib != null && gtk != null
|
|
&& libxml2 != null && ORBit2 != null && popt != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "GConf-2.4.0.1";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/GConf-2.4.0.1.tar.bz2;
|
|
md5 = "2f7548d0bad24d7c4beba54d0ec98a20";
|
|
};
|
|
pkgconfig = pkgconfig;
|
|
perl = perl; # Perl is not `supposed' to be required, but it is.
|
|
glib = glib;
|
|
gtk = gtk;
|
|
libxml2 = libxml2;
|
|
ORBit2 = ORBit2;
|
|
popt = popt;
|
|
}
|