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
18 lines
371 B
Nix
18 lines
371 B
Nix
{stdenv, fetchurl, x11, glib}:
|
|
|
|
assert x11 != null && glib != null;
|
|
assert x11.buildClientLibs;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gtk+-1.2.10";
|
|
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz;
|
|
md5 = "4d5cb2fc7fb7830e4af9747a36bfce20";
|
|
};
|
|
|
|
buildInputs = [x11 glib];
|
|
_propagatedBuildInputs = [x11 glib];
|
|
}
|