[Nix-dev] bio-perl patch
Tim Horton
tmhorton at gmail.com
Thu Jun 24 22:56:15 CEST 2010
Hello,
Attached is a patch to perl-packges.nix to include bio-perl and its
dependencies.
Is perl-packages.nix automatically generated from cpan? If so is the
code publicly available?
Thanks,
Tim
-------------- next part --------------
>From 8d35968c530d71cc748eed0caef8774d26eb4e5b Mon Sep 17 00:00:00 2001
From: Tim Horton <tmhorton at gmail.com>
Date: Thu, 24 Jun 2010 12:53:20 -0700
Subject: [PATCH] Added bioperl-1.6.2 and basic dependencies
---
pkgs/top-level/perl-packages.nix | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index dadc869..c171b0b 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -150,6 +150,15 @@ rec {
propagatedBuildInputs = [SubExporter VariableMagic];
};
+ BioPerl = buildPerlPackage rec {
+ name = "BioPerl-1.6.1";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/C/CJ/CJFIELDS/${name}.tar.gz";
+ sha256 = "18wmvkfvsaz0d63wlwi8czyhbb5yb28y5k02gdb77nad5g7dldmc";
+ };
+ propagatedBuildInputs = [DataStag DBFile IOString];
+ };
+
BitVector = buildPerlPackage {
name = "Bit-Vector-6.4";
src = fetchurl {
@@ -810,6 +819,15 @@ rec {
propagatedBuildInputs = [TestException ClassAccessorChained];
};
+ DataStag = buildPerlPackage rec {
+ name = "Data-Stag-0.11";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/C/CM/CMUNGALL/${name}.tar.gz";
+ sha256 = "1cisnn3cwqx1gwwb7vnfxz6bbvk521imwmq6zd2n8a2i0gxqdnk9";
+ };
+ propagatedBuildInputs = [IOString];
+ };
+
DataVisitor = buildPerlPackage rec {
name = "Data-Visitor-0.25";
src = fetchurl {
--
1.7.1
More information about the nix-dev
mailing list