about summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-11-20 20:02:29 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2023-11-28 06:07:37 +0100
commit97e9d370d71f7ef267f527b06f4098d8e5b3eb86 (patch)
treeca584871da2e353ef2e03731dd0c149de3658c26 /pkgs/development/tools/ocaml
parent4469e22700c47792f93daa882786d36f9bf8bc2a (diff)
obuild: 0.1.10 → 0.1.11
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/obuild/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/tools/ocaml/obuild/default.nix b/pkgs/development/tools/ocaml/obuild/default.nix
index 4a0a87577cbff..94848a79360c7 100644
--- a/pkgs/development/tools/ocaml/obuild/default.nix
+++ b/pkgs/development/tools/ocaml/obuild/default.nix
@@ -1,19 +1,19 @@
-{ lib, stdenv, fetchFromGitHub, ocaml }:
+{ lib, stdenv, fetchFromGitHub, ocamlPackages }:
 
 stdenv.mkDerivation rec {
   pname = "obuild";
-  version = "0.1.10";
+  version = "0.1.11";
 
   src = fetchFromGitHub {
     owner = "ocaml-obuild";
     repo = "obuild";
     rev = "obuild-v${version}";
-    sha256 = "sha256-dqWP9rwWmr7i3O29v/kipJL01B3qQozaToOFCdfTWZU=";
+    hash = "sha256-me9/FVD7S0uPIpFZzcxDfYKVWn9ifq6JryBAGCo681I=";
   };
 
   strictDeps = true;
 
-  nativeBuildInputs = [ ocaml ];
+  nativeBuildInputs = with ocamlPackages; [ ocaml findlib ];
 
   buildPhase = ''
     patchShebangs ./bootstrap
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
 
   meta = {
     homepage = "https://github.com/ocaml-obuild/obuild";
-    platforms = ocaml.meta.platforms or [ ];
+    inherit (ocamlPackages.ocaml.meta) platforms;
     description = "Simple package build system for OCaml";
     license = lib.licenses.lgpl21;
     maintainers = with lib.maintainers; [ ];