From 9808815f41cb5333d706776c1abf678b4d9570b2 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 20 Nov 2023 18:43:36 +0100 Subject: [PATCH] xflr5: 6.47 -> 6.61 This updates to the latest version. Unfortunately the project stopped publishing source tarballs in the way we used to consume them. We've to retrieve a source snapshot from sourceforge's SVN service instead. The alternative would be a subversion checkout which I don't think is any better or worse. --- pkgs/applications/science/physics/xflr5/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/science/physics/xflr5/default.nix b/pkgs/applications/science/physics/xflr5/default.nix index dd3fef5bf26c..3d9615cf5329 100644 --- a/pkgs/applications/science/physics/xflr5/default.nix +++ b/pkgs/applications/science/physics/xflr5/default.nix @@ -1,12 +1,11 @@ -{ mkDerivation, lib, fetchurl, qmake }: +{ mkDerivation, lib, fetchzip, qmake }: mkDerivation rec { pname = "xflr5"; - version = "6.47"; - - src = fetchurl { - url = "mirror://sourceforge/xflr5/${pname}_v${version}_src.tar.gz"; - sha256 = "02x3r9iv3ndwxa65mxn9m5dlhcrnjiq7cffi6rmb456gs3v3dnav"; + version = "6.61"; + src = fetchzip { + url = "https://sourceforge.net/code-snapshots/svn/x/xf/xflr5/code/xflr5-code-r1481-tags-v6.61-xflr5.zip"; + sha256 = "sha256-voWnXiBo7+kBPiZLVpSiXyBsYJv/Phd3noA81SQ5Vtw="; }; nativeBuildInputs = [ qmake ];