forked from mirrors/nixpkgs
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
16 lines
374 B
Nix
16 lines
374 B
Nix
{stdenv, fetchurl, pkgconfig, gettext, perl}:
|
|
|
|
assert pkgconfig != null && gettext != null && perl != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "glib-2.2.3";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = ftp://ftp.gtk.org/pub/gtk/v2.2/glib-2.2.3.tar.bz2;
|
|
md5 = "aa214a10d873b68ddd67cd9de2ccae55";
|
|
};
|
|
pkgconfig = pkgconfig;
|
|
gettext = gettext;
|
|
perl = perl;
|
|
}
|