openxray: 2188-november-2023-rc1 -> 2921-january-2025-rc1 (#375925)
[NixPkgs.git] / pkgs / by-name / li / libctl / package.nix
blobe9b459b8aa5374ca7453774496753fd2c147de92
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   autoreconfHook,
6   gfortran,
7   guile,
8   pkg-config,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "libctl";
13   version = "4.5.1";
15   src = fetchFromGitHub {
16     owner = "NanoComp";
17     repo = pname;
18     rev = "v${version}";
19     sha256 = "uOydBWYPXSBUi+4MM6FNx6B5l2to7Ny9Uc1MMTV9bGA=";
20   };
22   nativeBuildInputs = [
23     autoreconfHook
24     gfortran
25     guile
26     pkg-config
27   ];
29   configureFlags = [ "--enable-shared" ];
31   meta = with lib; {
32     description = "Guile-based library for supporting flexible control files in scientific simulations";
33     mainProgram = "gen-ctl-io";
34     homepage = "https://github.com/NanoComp/libctl";
35     license = licenses.gpl2Only;
36     maintainers = with maintainers; [ carpinchomug ];
37   };