forked from mirrors/nixpkgs
Update perseus
new url --> http://people.maths.ox.ac.uk/nanda/perseus/index.html add NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; # Otherwise it does not compile
This commit is contained in:
parent
a71afdaa3b
commit
1639e10d34
|
@ -8,12 +8,12 @@ stdenv.mkDerivation {
|
|||
hardeningDisable = [ "stackprotector" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.sas.upenn.edu/~vnanda/source/perseus_4_beta.zip";
|
||||
sha256 = "09brijnqabhgfjlj5wny0bqm5dwqcfkp1x5wif6yzdmqh080jybj";
|
||||
url = "http://people.maths.ox.ac.uk/nanda/source/perseus_4_beta.zip";
|
||||
sha256 = "sha256-cnkJEIC4tu+Ni7z0cKdjmLdS8QLe8iKpdA8uha2MeSU=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; # Otherwise it does not compile
|
||||
buildPhase = ''
|
||||
g++ Pers.cpp -O3 -fpermissive -o perseus
|
||||
'';
|
||||
|
@ -32,9 +32,9 @@ stdenv.mkDerivation {
|
|||
around datasets arising from point samples, images, distance
|
||||
matrices and so forth.
|
||||
'';
|
||||
homepage = "http://www.sas.upenn.edu/~vnanda/perseus/index.html";
|
||||
homepage = "http://people.maths.ox.ac.uk/nanda/perseus/index.html";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ erikryb ];
|
||||
maintainers = with lib.maintainers; [ erikryb mrbitt ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue