mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
perlPackages.PDL: init at 2.022
This commit is contained in:
parent
7a27aefc1c
commit
fb1ff72f74
@ -15646,6 +15646,51 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
PDL = buildPerlPackage rec {
|
||||
pname = "PDL";
|
||||
version = "2.022";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/E/ET/ETJ/${pname}-${version}.tar.gz";
|
||||
sha256 = "12isj05ni44bgf76lc0fs5v88ai8gn5dqrppsbj7vsxblcya7113";
|
||||
};
|
||||
patchPhase = ''
|
||||
substituteInPlace perldl.conf \
|
||||
--replace 'POSIX_THREADS_LIBS => undef' 'POSIX_THREADS_LIBS => "-L${pkgs.glibc.dev}/lib"' \
|
||||
--replace 'POSIX_THREADS_INC => undef' 'POSIX_THREADS_INC => "-I${pkgs.glibc.dev}/include"' \
|
||||
--replace 'WITH_MINUIT => undef' 'WITH_MINUIT => 0' \
|
||||
--replace 'WITH_SLATEC => undef' 'WITH_SLATEC => 0' \
|
||||
--replace 'WITH_HDF => undef' 'WITH_HDF => 0' \
|
||||
--replace 'WITH_GD => undef' 'WITH_GD => 0' \
|
||||
--replace 'WITH_PROJ => undef' 'WITH_PROJ => 0'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with pkgs; [ autoPatchelfHook libGL.dev glibc.dev mesa_glu.dev ];
|
||||
|
||||
buildInputs = [ DevelChecklib TestDeep TestException TestWarn ] ++
|
||||
(with pkgs; [ gsl freeglut xorg.libXmu xorg.libXi ]);
|
||||
|
||||
propagatedBuildInputs = [
|
||||
AstroFITSHeader
|
||||
ConvertUU
|
||||
ExtUtilsF77
|
||||
FileMap
|
||||
Inline
|
||||
InlineC
|
||||
ListMoreUtils
|
||||
ModuleCompile
|
||||
OpenGL
|
||||
PodParser
|
||||
TermReadKey
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "http://pdl.perl.org/";
|
||||
description = "Perl Data Language";
|
||||
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
};
|
||||
|
||||
Pegex = buildPerlPackage {
|
||||
pname = "Pegex";
|
||||
version = "0.75";
|
||||
|
Loading…
Reference in New Issue
Block a user