nixpkgs/pkgs/applications/science/physics/xflr5/default.nix
Andreas Rammhold 9eb6350536 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.
2023-12-20 20:04:46 +01:00

24 lines
597 B
Nix

{ mkDerivation, lib, qmake, fetchsvn }:
mkDerivation rec {
pname = "xflr5";
version = "6.61";
sourceRoot = "${src.name}/xflr5";
src = fetchsvn {
url = "https://svn.code.sf.net/p/xflr5/code/trunk";
rev = "1480";
sha256 = "sha256-Uj6R15OT5i5tAJEYWqyFyN5Z51Wz5RjO26mWC3Y6QAI=";
};
nativeBuildInputs = [ qmake ];
meta = with lib; {
description = "An analysis tool for airfoils, wings and planes";
homepage = "https://sourceforge.net/projects/xflr5/";
license = licenses.gpl3;
maintainers = [ maintainers.esclear ];
platforms = platforms.linux;
};
}