* A function "buildPerlPackage" to replace all those "import

../development/perl-modules/generic perl" incantations.

svn path=/nixpkgs/trunk/; revision=13387
This commit is contained in:
Eelco Dolstra 2008-11-24 10:24:51 +00:00
parent 1357c14500
commit 9cb29889d2
6 changed files with 185 additions and 205 deletions

View File

@ -1,9 +0,0 @@
{fetchurl, perl}:
import ../generic perl {
name = "Archive-Zip-1.16";
src = fetchurl {
url = http://nixos.org/tarballs/Archive-Zip-1.16.tar.gz;
md5 = "e28dff400d07b1659d659d8dde7071f1";
};
}

View File

@ -1,9 +0,0 @@
{fetchurl, perl}:
import ../generic perl {
name = "Compress-Zlib-1.41";
src = fetchurl {
url = http://nixos.org/tarballs/Compress-Zlib-1.41.tar.gz;
md5 = "ac135b84a03e814734496777cf5e5722";
};
}

View File

@ -1,6 +1,6 @@
{fetchurl, perl, perlDBI, sqlite}:
{fetchurl, buildPerlPackage, perlDBI, sqlite}:
import ../generic perl {
buildPerlPackage {
name = "DBD-SQLite-1.14";
src = fetchurl {

View File

@ -1,10 +0,0 @@
{fetchurl, perl}:
import ../generic perl {
name = "perl-Font-TTF-0.43";
src = fetchurl {
url = mirror://cpan/authors/id/M/MH/MHOSKEN/Font-TTF-0.43.tar.gz;
sha256 = "0782mj5n5a2qbghvvr20x51llizly6q5smak98kzhgq9a7q3fg89";
};
perlPreHook = "makeMakerFlags=\"EXPATLIBPATH=$expat/lib EXPATINCPATH=$expat/include\"";
}

View File

@ -1,10 +0,0 @@
{fetchurl, perl, expat}:
import ../generic perl {
name = "XML-Parser-2.36";
src = fetchurl {
url = mirror://cpan/authors/id/M/MS/MSERGEANT/XML-Parser-2.36.tar.gz;
sha256 = "0gyp5qfbflhkin1zv8l6wlkjwfjvsf45a3py4vc6ni82fj32kmcz";
};
makeMakerFlags = "EXPATLIBPATH=${expat}/lib EXPATINCPATH=${expat}/include";
}

File diff suppressed because it is too large Load Diff