From 162351011984d4698d478fb91ce67a3c4c4e29c0 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 16 Sep 2019 06:29:15 +0000 Subject: [PATCH] ocamlPackages.owee: 0.2 -> 0.3 Ensures compatibility with OCaml 4.08 --- .../ocaml-modules/owee/default.nix | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/pkgs/development/ocaml-modules/owee/default.nix b/pkgs/development/ocaml-modules/owee/default.nix index 7ac6af3edd93..9eb81003d47a 100644 --- a/pkgs/development/ocaml-modules/owee/default.nix +++ b/pkgs/development/ocaml-modules/owee/default.nix @@ -1,25 +1,21 @@ -{ stdenv, fetchFromGitHub, ocaml, findlib }: +{ lib, buildDunePackage, fetchFromGitHub }: -stdenv.mkDerivation rec { - name = "ocaml${ocaml.version}-owee-${version}"; - version = "0.2"; +buildDunePackage rec { + minimumOCamlVersion = "4.06"; + pname = "owee"; + version = "0.3"; src = fetchFromGitHub { owner = "let-def"; repo = "owee"; rev = "v${version}"; - sha256 = "025a8sm03mm9qr7grdmdhzx7pyrd0dr7ndr5mbj5baalc0al132z"; + sha256 = "0jp8ca57488d7sj2nqy4yxcdpda6sxx51yyi8k6888hbinhyqp0j"; }; - 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 ]; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.vbgl ]; }; }