summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/expat/default.nix
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-01-21 10:24:35 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-01-21 10:30:13 +1000
commit8488ebab05929b1d65c12a9294661478f01a1a55 (patch)
treecd71625abbb9ade82749f2f43d5d22b24c7f8ae9 /pkgs/development/ocaml-modules/expat/default.nix
parent569987c1be8d42302a4238b3dc39d16ac70bdfb6 (diff)
downloadnixpkgs-8488ebab05929b1d65c12a9294661478f01a1a55.tar
nixpkgs-8488ebab05929b1d65c12a9294661478f01a1a55.tar.gz
nixpkgs-8488ebab05929b1d65c12a9294661478f01a1a55.tar.bz2
nixpkgs-8488ebab05929b1d65c12a9294661478f01a1a55.tar.lz
nixpkgs-8488ebab05929b1d65c12a9294661478f01a1a55.tar.xz
nixpkgs-8488ebab05929b1d65c12a9294661478f01a1a55.tar.zst
nixpkgs-8488ebab05929b1d65c12a9294661478f01a1a55.zip
ocamlPackages.*: use spaces for indentation
Diffstat (limited to 'pkgs/development/ocaml-modules/expat/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/expat/default.nix44
1 files changed, 22 insertions, 22 deletions
diff --git a/pkgs/development/ocaml-modules/expat/default.nix b/pkgs/development/ocaml-modules/expat/default.nix
index 9675fa88151..1812473e78b 100644
--- a/pkgs/development/ocaml-modules/expat/default.nix
+++ b/pkgs/development/ocaml-modules/expat/default.nix
@@ -1,32 +1,32 @@
 { stdenv, lib, fetchFromGitHub, expat, ocaml, findlib, ounit }:
 
 stdenv.mkDerivation rec {
-	name = "ocaml${ocaml.version}-expat-${version}";
-	version = "1.1.0";
+  name = "ocaml${ocaml.version}-expat-${version}";
+  version = "1.1.0";
 
-	src = fetchFromGitHub {
-		owner = "whitequark";
-		repo = "ocaml-expat";
-		rev = "v${version}";
-		sha256 = "07wm9663z744ya6z2lhiz5hbmc76kkipg04j9vw9dqpd1y1f2x3q";
-	};
+  src = fetchFromGitHub {
+    owner = "whitequark";
+    repo = "ocaml-expat";
+    rev = "v${version}";
+    sha256 = "07wm9663z744ya6z2lhiz5hbmc76kkipg04j9vw9dqpd1y1f2x3q";
+  };
 
-	prePatch = ''
-		substituteInPlace Makefile --replace "gcc" "\$(CC)"
-	'';
+  prePatch = ''
+    substituteInPlace Makefile --replace "gcc" "\$(CC)"
+  '';
 
-	buildInputs = [ ocaml findlib expat ounit ];
+  buildInputs = [ ocaml findlib expat ounit ];
 
-	doCheck = !lib.versionAtLeast ocaml.version "4.06";
-	checkTarget = "testall";
+  doCheck = !lib.versionAtLeast ocaml.version "4.06";
+  checkTarget = "testall";
 
-	createFindlibDestdir = true;
+  createFindlibDestdir = true;
 
-	meta = {
-		description = "OCaml wrapper for the Expat XML parsing library";
-		license = lib.licenses.mit;
-		maintainers = [ lib.maintainers.vbgl ];
-		inherit (src.meta) homepage;
-		inherit (ocaml.meta) platforms;
-	};
+  meta = {
+    description = "OCaml wrapper for the Expat XML parsing library";
+    license = lib.licenses.mit;
+    maintainers = [ lib.maintainers.vbgl ];
+    inherit (src.meta) homepage;
+    inherit (ocaml.meta) platforms;
+  };
 }