3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/electronics/hyp2mat/default.nix

54 lines
953 B
Nix
Raw Normal View History

{ lib, stdenv
2019-10-21 01:53:38 +01:00
, fetchFromGitHub
, bison
, flex
, gengetopt
, help2man
, groff
, libharu
, autoreconfHook
, pkg-config
2019-10-21 01:53:38 +01:00
, libpng
, zlib
}:
stdenv.mkDerivation rec {
pname = "hyp2mat";
2020-08-22 10:25:47 +01:00
version = "0.0.18";
2019-10-21 01:53:38 +01:00
src = fetchFromGitHub {
owner = "koendv";
repo = "hyp2mat";
rev = "v${version}";
2020-08-22 10:25:47 +01:00
sha256 = "03ibk51swxfl7pfrhcrfiffdi4mnf8kla0g1xj1lsrvrjwapfx03";
2019-10-21 01:53:38 +01:00
};
nativeBuildInputs = [
autoreconfHook
pkg-config
2019-10-21 01:53:38 +01:00
];
buildInputs = [
libharu
libpng
zlib
bison
flex
gengetopt
help2man
groff
];
configureFlags = [ "--enable-library" ];
enableParallelBuilding = true;
meta = with lib; {
2019-10-21 01:53:38 +01:00
description = "Import Hyperlynx Boardsim files to openEMS, an open source 3D full-wave electromagnetic field solver";
2020-08-22 10:25:47 +01:00
homepage = "https://github.com/koendv/hyp2mat";
2019-10-21 01:53:38 +01:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ matthuszagh ];
platforms = platforms.linux;
};
}