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
39 lines
730 B
Nix
39 lines
730 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
gfortran,
|
|
guile,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libctl";
|
|
version = "4.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "NanoComp";
|
|
repo = "libctl";
|
|
rev = "v${version}";
|
|
sha256 = "uOydBWYPXSBUi+4MM6FNx6B5l2to7Ny9Uc1MMTV9bGA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
gfortran
|
|
guile
|
|
pkg-config
|
|
];
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
meta = with lib; {
|
|
description = "Guile-based library for supporting flexible control files in scientific simulations";
|
|
mainProgram = "gen-ctl-io";
|
|
homepage = "https://github.com/NanoComp/libctl";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ ];
|
|
};
|
|
}
|