aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-09-16 06:29:15 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-09-22 20:12:05 +0000
commit162351011984d4698d478fb91ce67a3c4c4e29c0 (patch)
treeebbe44131ae86ff327dfee5d6f782e39941548ff /pkgs
parent8109be4859615f624c16d1de8502eb7367434cc9 (diff)
ocamlPackages.owee: 0.2 -> 0.3
Ensures compatibility with OCaml 4.08
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/owee/default.nix20
1 files changed, 8 insertions, 12 deletions
diff --git a/pkgs/development/ocaml-modules/owee/default.nix b/pkgs/development/ocaml-modules/owee/default.nix
index 7ac6af3edd9..9eb81003d47 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 ];
};
}