mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
ocamlPackages.landmarks{,-ppx}: init at 1.4
This commit is contained in:
parent
69ef9cc676
commit
c069b1b7bd
18
pkgs/development/ocaml-modules/landmarks-ppx/default.nix
Normal file
18
pkgs/development/ocaml-modules/landmarks-ppx/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ lib, fetchFromGitHub, buildDunePackage, ocaml, landmarks, ppxlib }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "landmarks-ppx";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
inherit (landmarks) src version;
|
||||
|
||||
buildInputs = [ ppxlib ];
|
||||
propagatedBuildInputs = [ landmarks ];
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08"
|
||||
&& lib.versionOlder ocaml.version "5.0";
|
||||
|
||||
meta = landmarks.meta // {
|
||||
description = "Preprocessor instrumenting code using the landmarks library";
|
||||
};
|
||||
}
|
23
pkgs/development/ocaml-modules/landmarks/default.nix
Normal file
23
pkgs/development/ocaml-modules/landmarks/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ lib, fetchFromGitHub, buildDunePackage, ocaml }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "landmarks";
|
||||
version = "1.4";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LexiFi";
|
||||
repo = "landmarks";
|
||||
rev = "b0c753cd2a4c4aa00dffdd3be187d8ed592fabf7";
|
||||
hash = "sha256-Wpr76JURUFrj7v39rdM/2Lr7boa7nL/bnPEz1vMrmQo";
|
||||
};
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08"
|
||||
&& lib.versionOlder ocaml.version "5.0";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Simple Profiling Library for OCaml";
|
||||
maintainers = [ maintainers.kenran ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -930,6 +930,10 @@ let
|
||||
inherit (pkgs) lame;
|
||||
};
|
||||
|
||||
landmarks = callPackage ../development/ocaml-modules/landmarks { };
|
||||
|
||||
landmarks-ppx = callPackage ../development/ocaml-modules/landmarks-ppx { };
|
||||
|
||||
lastfm = callPackage ../development/ocaml-modules/lastfm { };
|
||||
|
||||
lem = callPackage ../development/ocaml-modules/lem { };
|
||||
|
Loading…
Reference in New Issue
Block a user