From d5dc2cc7ba0bf4492281d856cc466a69b001e95a Mon Sep 17 00:00:00 2001 From: Daniel Albert Date: Sat, 5 Oct 2019 21:25:09 +0200 Subject: [PATCH] xflr5: init at 6.47 --- .../science/physics/xflr5/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/applications/science/physics/xflr5/default.nix diff --git a/pkgs/applications/science/physics/xflr5/default.nix b/pkgs/applications/science/physics/xflr5/default.nix new file mode 100644 index 000000000000..85838b04cbf1 --- /dev/null +++ b/pkgs/applications/science/physics/xflr5/default.nix @@ -0,0 +1,23 @@ +{ stdenv, lib, fetchurl, wrapQtAppsHook, qmake }: + +stdenv.mkDerivation rec { + pname = "xflr5"; + version = "6.47"; + + src = fetchurl { + url = "mirror://sourceforge/xflr5/${pname}_v${version}_src.tar.gz"; + sha256 = "02x3r9iv3ndwxa65mxn9m5dlhcrnjiq7cffi6rmb456gs3v3dnav"; + }; + + enableParallelBuilding = true; + + nativeBuildInputs = [ qmake wrapQtAppsHook ]; + + meta = with stdenv.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; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d7824f41cd05..94debb128d16 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24040,6 +24040,8 @@ in xfitter = callPackage ../applications/science/physics/xfitter {}; + xflr5 = libsForQt5.callPackage ../applications/science/physics/xflr5 { }; + ### SCIENCE/PROGRAMMING dafny = dotnetPackages.Dafny;