about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-01-18 16:23:22 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2021-02-02 08:34:06 +0100
commitf31d62b49e13d4d43ae9d5370fc923d7a5efc30b (patch)
treebc583f5dfad76e2950082123411193f5af53af81 /pkgs/development/ocaml-modules
parenta0dc0f6f2c965b5ef9de31ca56b1d7aec190841e (diff)
downloadnixlib-f31d62b49e13d4d43ae9d5370fc923d7a5efc30b.tar
nixlib-f31d62b49e13d4d43ae9d5370fc923d7a5efc30b.tar.gz
nixlib-f31d62b49e13d4d43ae9d5370fc923d7a5efc30b.tar.bz2
nixlib-f31d62b49e13d4d43ae9d5370fc923d7a5efc30b.tar.lz
nixlib-f31d62b49e13d4d43ae9d5370fc923d7a5efc30b.tar.xz
nixlib-f31d62b49e13d4d43ae9d5370fc923d7a5efc30b.tar.zst
nixlib-f31d62b49e13d4d43ae9d5370fc923d7a5efc30b.zip
ocamlPackages.semaphore-compat: init at 1.0.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/semaphore-compat/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/semaphore-compat/default.nix b/pkgs/development/ocaml-modules/semaphore-compat/default.nix
new file mode 100644
index 000000000000..a686ef42e708
--- /dev/null
+++ b/pkgs/development/ocaml-modules/semaphore-compat/default.nix
@@ -0,0 +1,20 @@
+{ lib, buildDunePackage, fetchurl }:
+
+buildDunePackage rec {
+  pname = "semaphore-compat";
+  version = "1.0.1";
+
+  src = fetchurl {
+    url = "https://github.com/mirage/semaphore-compat/releases/download/${version}/semaphore-compat-${version}.tbz";
+    sha256 = "139c5rxdp4dg1jcwyyxvhxr8213l1xdl2ab0mc288rfcppsiyxrb";
+  };
+
+  useDune2 = true;
+
+  meta = with lib; {
+    description = "Compatibility Semaphore module";
+    homepage = "https://github.com/mirage/semaphore-compat";
+    license = licenses.lgpl21Only;
+    maintainers = [ maintainers.sternenseemann ];
+  };
+}