summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ppxfind/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/ppxfind/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/ppxfind/default.nix30
1 files changed, 15 insertions, 15 deletions
diff --git a/pkgs/development/ocaml-modules/ppxfind/default.nix b/pkgs/development/ocaml-modules/ppxfind/default.nix
index 1008dfe62a9a..4e135c1b115e 100644
--- a/pkgs/development/ocaml-modules/ppxfind/default.nix
+++ b/pkgs/development/ocaml-modules/ppxfind/default.nix
@@ -1,27 +1,27 @@
{ stdenv, lib, buildDunePackage, fetchurl, ocaml, ocaml-migrate-parsetree }:
buildDunePackage (rec {
- pname = "ppxfind";
- version = "1.4";
- src = fetchurl {
- url = "https://github.com/diml/ppxfind/releases/download/${version}/ppxfind-${version}.tbz";
- sha256 = "0wa9vcrc26kirc2cqqs6kmarbi8gqy3dgdfiv9y7nzsgy1liqacq";
- };
+ pname = "ppxfind";
+ version = "1.4";
+ src = fetchurl {
+ url = "https://github.com/diml/ppxfind/releases/download/${version}/ppxfind-${version}.tbz";
+ sha256 = "0wa9vcrc26kirc2cqqs6kmarbi8gqy3dgdfiv9y7nzsgy1liqacq";
+ };
- minimumOCamlVersion = "4.03";
- useDune2 = true;
+ minimumOCamlVersion = "4.03";
+ useDune2 = true;
- buildInputs = [ ocaml-migrate-parsetree ];
+ buildInputs = [ ocaml-migrate-parsetree ];
# Don't run the native `strip' when cross-compiling.
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
- meta = {
- homepage = "https://github.com/diml/ppxfind";
- description = "ocamlfind ppx tool";
- license = lib.licenses.bsd3;
- maintainers = [ lib.maintainers.vbgl ];
- };
+ meta = {
+ homepage = "https://github.com/diml/ppxfind";
+ description = "ocamlfind ppx tool";
+ license = lib.licenses.bsd3;
+ maintainers = [ lib.maintainers.vbgl ];
+ };
} // (
if lib.versions.majorMinor ocaml.version == "4.04" then {
dontStrip = true;