Merge pull request #179257 from mrbitt/master

Update perseus
This commit is contained in:
Jonas Heinrich 2022-09-04 23:09:19 +02:00 committed by GitHub
commit bb738c5202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" ];
buildPhase = ''
g++ Pers.cpp -O3 -fpermissive -o perseus
'';
@ -32,7 +32,7 @@ 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 ];
platforms = lib.platforms.linux;