summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ao
diff options
context:
space:
mode:
authorDaniel Olsen <daniel.olsen99@gmail.com>2021-10-08 01:47:01 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2022-06-06 17:50:38 +0200
commit5e76c6961d1b992046781c21c7d7dfd5df60d013 (patch)
tree369cd6d61cbaf30527a3e77d620f34b9cc87c7b0 /pkgs/development/ocaml-modules/ao
parent50750614938799c87466dc3af388803eeada7cf2 (diff)
ocamlPackages.ao: init at 0.2.4
Diffstat (limited to 'pkgs/development/ocaml-modules/ao')
-rw-r--r--pkgs/development/ocaml-modules/ao/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ao/default.nix b/pkgs/development/ocaml-modules/ao/default.nix
new file mode 100644
index 000000000000..6abc7f98f639
--- /dev/null
+++ b/pkgs/development/ocaml-modules/ao/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libao }:
+
+buildDunePackage rec {
+ pname = "ao";
+ version = "0.2.4";
+
+ src = fetchFromGitHub {
+ owner = "savonet";
+ repo = "ocaml-ao";
+ rev = "v${version}";
+ sha256 = "sha256-HhJdb4i9B4gz3emgDCDT4riQuAsY4uP/47biu7EZ+sk=";
+ };
+
+ buildInputs = [ dune-configurator ];
+ propagatedBuildInputs = [ libao ];
+
+ meta = with lib; {
+ homepage = "https://github.com/savonet/ocaml-ao";
+ description = "OCaml bindings for libao";
+ license = licenses.lgpl21Plus;
+ maintainers = with maintainers; [ dandellion ];
+ };
+}