ocamlPackages.landmarks{,-ppx}: init at 1.4

authored by kenranunderscore.tngl.sh and committed by

Vincent Laporte c069b1b7 69ef9cc6

+45
+18
pkgs/development/ocaml-modules/landmarks-ppx/default.nix
··· 1 + { lib, fetchFromGitHub, buildDunePackage, ocaml, landmarks, ppxlib }: 2 + 3 + buildDunePackage { 4 + pname = "landmarks-ppx"; 5 + minimalOCamlVersion = "4.08"; 6 + 7 + inherit (landmarks) src version; 8 + 9 + buildInputs = [ ppxlib ]; 10 + propagatedBuildInputs = [ landmarks ]; 11 + 12 + doCheck = lib.versionAtLeast ocaml.version "4.08" 13 + && lib.versionOlder ocaml.version "5.0"; 14 + 15 + meta = landmarks.meta // { 16 + description = "Preprocessor instrumenting code using the landmarks library"; 17 + }; 18 + }
+23
pkgs/development/ocaml-modules/landmarks/default.nix
··· 1 + { lib, fetchFromGitHub, buildDunePackage, ocaml }: 2 + 3 + buildDunePackage { 4 + pname = "landmarks"; 5 + version = "1.4"; 6 + minimalOCamlVersion = "4.08"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "LexiFi"; 10 + repo = "landmarks"; 11 + rev = "b0c753cd2a4c4aa00dffdd3be187d8ed592fabf7"; 12 + hash = "sha256-Wpr76JURUFrj7v39rdM/2Lr7boa7nL/bnPEz1vMrmQo"; 13 + }; 14 + 15 + doCheck = lib.versionAtLeast ocaml.version "4.08" 16 + && lib.versionOlder ocaml.version "5.0"; 17 + 18 + meta = with lib; { 19 + description = "A Simple Profiling Library for OCaml"; 20 + maintainers = [ maintainers.kenran ]; 21 + license = licenses.mit; 22 + }; 23 + }
+4
pkgs/top-level/ocaml-packages.nix
··· 930 930 inherit (pkgs) lame; 931 931 }; 932 932 933 + landmarks = callPackage ../development/ocaml-modules/landmarks { }; 934 + 935 + landmarks-ppx = callPackage ../development/ocaml-modules/landmarks-ppx { }; 936 + 933 937 lastfm = callPackage ../development/ocaml-modules/lastfm { }; 934 938 935 939 lem = callPackage ../development/ocaml-modules/lem { };