From 1639e10d340d638bda0f14dd69060d8470c4da02 Mon Sep 17 00:00:00 2001 From: Giacomo Date: Sun, 26 Jun 2022 23:35:42 +0200 Subject: [PATCH] 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 --- pkgs/applications/science/math/perseus/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/science/math/perseus/default.nix b/pkgs/applications/science/math/perseus/default.nix index 4545203dacca..a9cf6e1b018d 100644 --- a/pkgs/applications/science/math/perseus/default.nix +++ b/pkgs/applications/science/math/perseus/default.nix @@ -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; }; }