about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/reason-native/console.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/reason-native/console.nix')
-rw-r--r--pkgs/development/ocaml-modules/reason-native/console.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/reason-native/console.nix b/pkgs/development/ocaml-modules/reason-native/console.nix
index a39ba9a7e3ec3..38d95a0c0f396 100644
--- a/pkgs/development/ocaml-modules/reason-native/console.nix
+++ b/pkgs/development/ocaml-modules/reason-native/console.nix
@@ -1,21 +1,24 @@
-{ buildDunePackage, callPackage, reason, console, ... }:
+{ lib, buildDunePackage, callPackage, reason, console, src }:
+
+buildDunePackage {
+  inherit src;
 
-{
   pname = "console";
+  version = "0.1.0-unstable-2024-05-07";
 
   nativeBuildInputs = [
     reason
   ];
 
   passthru.tests = {
-    console = callPackage ./tests/console {
-      inherit buildDunePackage reason console;
-    };
+    console = callPackage ./tests/console { };
   };
 
   meta = {
     description = "Library providing a web-influenced polymorphic console API for native Console.log(anything) with runtime printing";
     downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/console";
     homepage = "https://reason-native.com/docs/console/";
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ ];
   };
 }