Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1014 B
Nix
54 lines
1014 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
wrapGAppsHook3,
|
|
pkg-config,
|
|
which,
|
|
gtk3,
|
|
blas,
|
|
lapack,
|
|
nix-update-script,
|
|
}:
|
|
|
|
assert (!blas.isILP64) && (!lapack.isILP64);
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "xnec2c";
|
|
version = "4.4.16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KJ7LNW";
|
|
repo = "xnec2c";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-W8JwbCSXt5cjgncOzV1wltPnJxwWC6B29eaT8emIU9Y=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
wrapGAppsHook3
|
|
pkg-config
|
|
which
|
|
];
|
|
buildInputs = [
|
|
gtk3
|
|
blas
|
|
lapack
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://www.xnec2c.org/";
|
|
description = "Graphical antenna simulation";
|
|
mainProgram = "xnec2c";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ mvs ];
|
|
platforms = lib.platforms.unix;
|
|
|
|
# Darwin support likely to be fixed upstream in the next release
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
})
|