Merge pull request #208365 from illdefined/xnec2c

xnec2c: init at 4.4.12
This commit is contained in:
markuskowa 2023-01-01 14:55:45 +01:00 committed by GitHub
commit 3325956ea1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, stdenv
, fetchurl
, autoreconfHook
, pkg-config
, which
, gtk3
, blas
, lapack
}:
assert (!blas.isILP64) && (!lapack.isILP64);
stdenv.mkDerivation rec {
pname = "xnec2c";
version = "4.4.12";
src = fetchurl {
url = "https://www.xnec2c.org/releases/${pname}-v${version}.tar.gz";
hash = "sha256-6Yrx6LkJjfnMA/kJUDWLhGzGopZeecARSrcR++UScsU=";
};
nativeBuildInputs = [ autoreconfHook pkg-config which ];
buildInputs = [ gtk3 blas lapack ];
meta = with lib; {
homepage = "https://www.xnec2c.org/";
description = "Graphical antenna simulation";
license = licenses.gpl3;
maintainers = with maintainers; [ mvs ];
platforms = platforms.unix;
# Darwin support likely to be fixed upstream in the next release
broken = stdenv.isDarwin;
};
}

View file

@ -36024,6 +36024,8 @@ with pkgs;
xflr5 = libsForQt5.callPackage ../applications/science/physics/xflr5 { }; xflr5 = libsForQt5.callPackage ../applications/science/physics/xflr5 { };
xnec2c = callPackage ../applications/science/physics/xnec2c { };
### SCIENCE/PROGRAMMING ### SCIENCE/PROGRAMMING
dafny = dotnetPackages.Dafny; dafny = dotnetPackages.Dafny;