mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
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.
This commit is contained in:
parent
f27bb1216c
commit
9eb6350536
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user