mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
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
15 lines
336 B
Nix
15 lines
336 B
Nix
{stdenv, fetchurl, perl, db4}:
|
|
|
|
assert perl != null && db4 != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "perl-BerkeleyDB-0.25";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = ftp://ftp.cs.uu.nl/mirror/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.25.tar.gz;
|
|
md5 = "fcef06232d1ccd6c2a9cd114e388ea3d";
|
|
};
|
|
perl = perl;
|
|
db4 = db4;
|
|
}
|