about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/rresult/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/rresult/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/rresult/default.nix34
1 files changed, 17 insertions, 17 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/rresult/default.nix b/nixpkgs/pkgs/development/ocaml-modules/rresult/default.nix
index cdaa7857398f..04631cc3b4bc 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/rresult/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/rresult/default.nix
@@ -1,24 +1,24 @@
-{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
+{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
 
 stdenv.mkDerivation rec {
-	name = "ocaml${ocaml.version}-rresult-${version}";
-	version = "0.6.0";
-	src = fetchurl {
-		url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
-		sha256 = "1k69a3gvrk7f2cshwjzvk7818f0bwxhacgd14wxy6d4gmrggci86";
-	};
+  name = "ocaml${ocaml.version}-rresult-${version}";
+  version = "0.6.0";
+  src = fetchurl {
+    url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
+    sha256 = "1k69a3gvrk7f2cshwjzvk7818f0bwxhacgd14wxy6d4gmrggci86";
+  };
 
-	buildInputs = [ ocaml findlib ocamlbuild topkg ];
+  buildInputs = [ ocaml findlib ocamlbuild topkg ];
 
   propagatedBuildInputs = [ result ];
-  
-	inherit (topkg) buildPhase installPhase;
 
-	meta = {
-		license = stdenv.lib.licenses.isc;
-		homepage = "https://erratique.ch/software/rresult";
-		description = "Result value combinators for OCaml";
-		maintainers = [ stdenv.lib.maintainers.vbgl ];
-		inherit (ocaml.meta) platforms;
-	};
+  inherit (topkg) buildPhase installPhase;
+
+  meta = {
+    license = lib.licenses.isc;
+    homepage = "https://erratique.ch/software/rresult";
+    description = "Result value combinators for OCaml";
+    maintainers = [ lib.maintainers.vbgl ];
+    inherit (ocaml.meta) platforms;
+  };
 }