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
346 B
Nix
14 lines
346 B
Nix
{stdenv, fetchurl, perl, expat}:
|
|
|
|
assert perl != null && expat != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "perl-XML-Parser-2.34";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz;
|
|
md5 = "84d9e0001fe01c14867256c3fe115899";
|
|
};
|
|
perl = perl;
|
|
expat = expat;
|
|
}
|