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
289 B
Nix
14 lines
289 B
Nix
{stdenv, fetchurl, unzip}:
|
|
|
|
assert unzip != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "docbook-xml-4.2";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip;
|
|
md5 = "73fe50dfe74ca631c1602f558ed8961f";
|
|
};
|
|
unzip = unzip;
|
|
}
|