diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2023-12-20 20:02:48 +0100 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2023-12-20 20:04:46 +0100 |
commit | 9eb6350536a11e64755978e594c8b373d8f37891 (patch) | |
tree | c0861d629ad9f004608de6186053d159b4bc6b8f /pkgs/applications/science/physics | |
parent | f27bb1216c942b4a7b3ec57fcbd24acb9b34c71c (diff) |
xflr5: use fetchsvn instead of fetchzip
The Sourceforge ZIP URLs aren't stable. They (sometimes?) disappear and throw 404. Probably until someone requests the file to be generated from the UI. This made the build of xflr5 fail. By using the SVN checkout we should be on the safer side.
Diffstat (limited to 'pkgs/applications/science/physics')
-rw-r--r-- | pkgs/applications/science/physics/xflr5/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/science/physics/xflr5/default.nix b/pkgs/applications/science/physics/xflr5/default.nix index 3d9615cf5329f..eb60c12e9f0ce 100644 --- a/pkgs/applications/science/physics/xflr5/default.nix +++ b/pkgs/applications/science/physics/xflr5/default.nix @@ -1,11 +1,14 @@ -{ mkDerivation, lib, fetchzip, qmake }: +{ mkDerivation, lib, qmake, fetchsvn }: mkDerivation rec { pname = "xflr5"; 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="; + + sourceRoot = "${src.name}/xflr5"; + src = fetchsvn { + url = "https://svn.code.sf.net/p/xflr5/code/trunk"; + rev = "1480"; + sha256 = "sha256-Uj6R15OT5i5tAJEYWqyFyN5Z51Wz5RjO26mWC3Y6QAI="; }; nativeBuildInputs = [ qmake ]; |