mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
Upgrade Pure to 0.63
This commit is contained in:
parent
3bd29ef68f
commit
d37835295a
|
@ -4,18 +4,23 @@
|
|||
stdenv.mkDerivation rec {
|
||||
baseName="pure";
|
||||
project="pure-lang";
|
||||
version="0.62";
|
||||
version="0.63";
|
||||
name="${baseName}-${version}";
|
||||
extension="tar.gz";
|
||||
|
||||
src = fetchurl {
|
||||
url="https://bitbucket.org/purelang/${project}/downloads/${name}.${extension}";
|
||||
sha256="77df64e8154ef6f8fac66f8bcc471dc8f994862d1ee77b7c98003607757a013b";
|
||||
sha256="33acb2d560b21813f5e856973b493d9cfafba82bd6f539425ce07aa22f84ee29";
|
||||
};
|
||||
|
||||
buildInputs = [ bison flex makeWrapper ];
|
||||
propagatedBuildInputs = [ llvm gmp mpfr readline ];
|
||||
|
||||
configureFlags = [ "--enable-release" ];
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${llvm}/lib make check
|
||||
'';
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/pure --prefix LD_LIBRARY_PATH : ${llvm}/lib
|
||||
'';
|
||||
|
@ -25,6 +30,7 @@ stdenv.mkDerivation rec {
|
|||
maintainers = with lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
asppsa
|
||||
];
|
||||
platforms = with lib.platforms;
|
||||
linux;
|
||||
|
|
|
@ -3937,10 +3937,7 @@ let
|
|||
|
||||
polyml = callPackage ../development/compilers/polyml { };
|
||||
|
||||
pure = callPackage ../development/interpreters/pure {
|
||||
llvm = llvm_34 ;
|
||||
};
|
||||
|
||||
pure = callPackage ../development/interpreters/pure { };
|
||||
pure-gsl = callPackage ../development/pure-modules/pure-gsl { };
|
||||
|
||||
python = python2;
|
||||
|
|
Loading…
Reference in a new issue