about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/git/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/git/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/git/default.nix42
1 files changed, 21 insertions, 21 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/git/default.nix b/nixpkgs/pkgs/development/ocaml-modules/git/default.nix
index d28e8ef2e7b4..f5cb452f1a91 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/git/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/git/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, buildDunePackage
+{ stdenv, lib, fetchurl, buildDunePackage
 , alcotest, mtime, mirage-crypto-rng, tls, git-binary
 , angstrom, astring, cstruct, decompress, digestif, encore, duff, fmt, checkseum
 , fpath, hex, ke, logs, lru, ocaml_lwt, ocamlgraph, ocplib-endian, uri, rresult
@@ -6,28 +6,28 @@
 }:
 
 buildDunePackage rec {
-	pname = "git";
-	version = "2.1.3";
+  pname = "git";
+  version = "2.1.3";
 
-	minimumOCamlVersion = "4.07";
-	useDune2 = true;
+  minimumOCamlVersion = "4.07";
+  useDune2 = true;
 
-	src = fetchurl {
-		url = "https://github.com/mirage/ocaml-git/releases/download/${version}/git-${version}.tbz";
-		sha256 = "1ppllv65vrkfrmx46aiq5879isffcjmg92z9rv2kh92a83h4lqax";
-	};
+  src = fetchurl {
+    url = "https://github.com/mirage/ocaml-git/releases/download/${version}/git-${version}.tbz";
+    sha256 = "1ppllv65vrkfrmx46aiq5879isffcjmg92z9rv2kh92a83h4lqax";
+  };
 
-	propagatedBuildInputs = [
-		angstrom astring checkseum cstruct decompress digestif encore duff fmt fpath
-		hex ke logs lru ocaml_lwt ocamlgraph ocplib-endian uri rresult stdlib-shims
-	];
-	checkInputs = [ alcotest mtime mirage-crypto-rng tls git-binary ];
-	doCheck = !stdenv.isAarch64;
+  propagatedBuildInputs = [
+    angstrom astring checkseum cstruct decompress digestif encore duff fmt fpath
+    hex ke logs lru ocaml_lwt ocamlgraph ocplib-endian uri rresult stdlib-shims
+  ];
+  checkInputs = [ alcotest mtime mirage-crypto-rng tls git-binary ];
+  doCheck = !stdenv.isAarch64;
 
-	meta = with stdenv; {
-		description = "Git format and protocol in pure OCaml";
-		license = lib.licenses.isc;
-		maintainers = [ lib.maintainers.vbgl ];
-		homepage = "https://github.com/mirage/ocaml-git";
-	};
+  meta = {
+    description = "Git format and protocol in pure OCaml";
+    license = lib.licenses.isc;
+    maintainers = [ lib.maintainers.vbgl ];
+    homepage = "https://github.com/mirage/ocaml-git";
+  };
 }