From 9c4bda25305e03f946725326d7470e1ce77bf8b9 Mon Sep 17 00:00:00 2001 From: Eric Merritt Date: Sun, 24 May 2015 11:42:28 -0700 Subject: [PATCH] ocaml-async_shell: add initial version (109.28.03) to the system --- .../ocaml-modules/async_shell/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/ocaml-modules/async_shell/default.nix diff --git a/pkgs/development/ocaml-modules/async_shell/default.nix b/pkgs/development/ocaml-modules/async_shell/default.nix new file mode 100644 index 000000000000..75755833a5f5 --- /dev/null +++ b/pkgs/development/ocaml-modules/async_shell/default.nix @@ -0,0 +1,22 @@ +{stdenv, buildOcaml, fetchurl, async, core, core_extended}: + +buildOcaml rec { + name = "async_shell"; + version = "109.28.03"; + + minimumSupportedOcamlVersion = "4.02"; + + src = fetchurl { + url = "https://github.com/janestreet/async_shell/archive/${version}.tar.gz"; + sha256 = "0b4497bea9124c5a665ee58fb0a73c5cbf2f757479df902e6870627196e6c105"; + }; + + propagatedBuildInputs = [ async core core_extended ]; + + meta = with stdenv.lib; { + homepage = https://github.com/janestreet/async_shell; + description = "Shell helpers for Async"; + license = licenses.asl20; + maintainers = [ maintainers.ericbmerritt ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fb311269244b..e02b779ee9dc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4053,6 +4053,8 @@ let async_kernel = callPackage ../development/ocaml-modules/async_kernel { }; + async_shell = callPackage ../development/ocaml-modules/async_shell { }; + async_ssl = callPackage ../development/ocaml-modules/async_ssl { }; async_unix = callPackage ../development/ocaml-modules/async_unix { };