about summary refs log tree commit diff
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
parent788b83cac5cd928ee897562c7218f492c6478a59 (diff)
parent9cdf795143a2ca42e32f42801e09f5f738660fed (diff)
downloadnixlib-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar
nixlib-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.gz
nixlib-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.bz2
nixlib-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.lz
nixlib-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.xz
nixlib-1172fbd64ee3f94fd584a5087e949e2506f78d25.tar.zst
nixlib-1172fbd64ee3f94fd584a5087e949e2506f78d25.zip
Merge pull request #164369 from carpinchomug/libctl
libctl: init at 4.5.1
-rw-r--r--maintainers/maintainer-list.nix6
-rw-r--r--pkgs/development/libraries/libctl/default.nix31
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 39 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index c16ca81e2629..e26d693c39c1 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -1901,6 +1901,12 @@
     githubId = 82591;
     name = "Carl Sverre";
   };
+  carpinchomug = {
+    email = "aki.suda@protonmail.com";
+    github = "carpinchomug";
+    githubId = 101536256;
+    name = "Akiyoshi Suda";
+  };
   cartr = {
     email = "carter.sande@duodecima.technology";
     github = "cartr";
diff --git a/pkgs/development/libraries/libctl/default.nix b/pkgs/development/libraries/libctl/default.nix
new file mode 100644
index 000000000000..d7fed2415df0
--- /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 ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 30e9c9853943..c7663d3d9de2 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -17914,6 +17914,8 @@ with pkgs;
 
   libctemplate = callPackage ../development/libraries/libctemplate { };
 
+  libctl = callPackage ../development/libraries/libctl { };
+
   libcotp = callPackage ../development/libraries/libcotp { };
 
   libcouchbase = callPackage ../development/libraries/libcouchbase { };