summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2022-03-16 22:09:22 +0100
committerGitHub <noreply@github.com>2022-03-16 22:09:22 +0100
commit1172fbd64ee3f94fd584a5087e949e2506f78d25 (patch)
treed997e5d782fd55d560968f518d842bfce6526748 /pkgs/development/libraries
parent788b83cac5cd928ee897562c7218f492c6478a59 (diff)
parent9cdf795143a2ca42e32f42801e09f5f738660fed (diff)
downloadnixpkgs-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar
nixpkgs-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.gz
nixpkgs-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.bz2
nixpkgs-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.lz
nixpkgs-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.xz
nixpkgs-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.zst
nixpkgs-1172fbd64ee3f94fd584a5087e949e2506f78d25.zip
Merge pull request #164369 from carpinchomug/libctl
libctl: init at 4.5.1
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/libctl/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libctl/default.nix b/pkgs/development/libraries/libctl/default.nix
new file mode 100644
index 00000000000..d7fed2415df
--- /dev/null
+++ b/pkgs/development/libraries/libctl/default.nix
@@ -0,0 +1,31 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, autoreconfHook
+, gfortran
+, guile
+, pkg-config
+}:
+
+stdenv.mkDerivation rec {
+  pname = "libctl";
+  version = "4.5.1";
+
+  src = fetchFromGitHub {
+    owner = "NanoComp";
+    repo = pname;
+    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";
+    homepage = "https://github.com/NanoComp/libctl";
+    license = licenses.gpl2Only;
+    maintainers = with maintainers; [ carpinchomug ];
+  };
+}