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
14 lines
422 B
Nix
14 lines
422 B
Nix
{stdenv, fetchurl, pkgconfig, libX11, libSM, patch}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libXt-0.1.4";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://freedesktop.org/~xlibs/release/xlibs-1.0/libXt-0.1.4.tar.bz2;
|
|
md5 = "32b6528c9deb058d1a9ed17ffa848df8";
|
|
};
|
|
buildInputs = [pkgconfig libX11 libSM patch];
|
|
# This patch should become unnecessary soon; already been fixed in CVS.
|
|
patches = [./patch];
|
|
}
|