From 086fbfa3088defd3e6b0278161cdca792f1bd704 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 10 Jan 2017 18:32:58 +0000 Subject: [PATCH] ocamlPackages.owee: init at 0.2 Owee is an experimental library to work with DWARF format. Homepage: https://github.com/let-def/owee --- .../ocaml-modules/owee/default.nix | 25 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/ocaml-modules/owee/default.nix diff --git a/pkgs/development/ocaml-modules/owee/default.nix b/pkgs/development/ocaml-modules/owee/default.nix new file mode 100644 index 000000000000..7ac6af3edd93 --- /dev/null +++ b/pkgs/development/ocaml-modules/owee/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, ocaml, findlib }: + +stdenv.mkDerivation rec { + name = "ocaml${ocaml.version}-owee-${version}"; + version = "0.2"; + + src = fetchFromGitHub { + owner = "let-def"; + repo = "owee"; + rev = "v${version}"; + sha256 = "025a8sm03mm9qr7grdmdhzx7pyrd0dr7ndr5mbj5baalc0al132z"; + }; + + buildInputs = [ ocaml findlib ]; + + createFindlibDestdir = true; + + meta = { + description = "An experimental OCaml library to work with DWARF format"; + inherit (src.meta) homepage; + inherit (ocaml.meta) platforms; + license = stdenv.lib.licenses.mit; + maintainers = [ stdenv.lib.maintainers.vbgl ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 6e3f98c7ba2e..91e349eede99 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -351,6 +351,8 @@ let otr = callPackage ../development/ocaml-modules/otr { }; + owee = callPackage ../development/ocaml-modules/owee { }; + ounit = callPackage ../development/ocaml-modules/ounit { }; piqi = callPackage ../development/ocaml-modules/piqi { };