mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
ocamlPackages.get-activity: init at 2.0.1
Changelog: https://github.com/tarides/get-activity/releases/tag/2.0.1
This commit is contained in:
parent
c7f54ca757
commit
c8340d69e3
38
pkgs/development/ocaml-modules/get-activity/default.nix
Normal file
38
pkgs/development/ocaml-modules/get-activity/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
buildDunePackage,
|
||||
get-activity-lib,
|
||||
ppx_expect,
|
||||
cmdliner,
|
||||
dune-build-info,
|
||||
fmt,
|
||||
logs,
|
||||
alcotest
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "get-activity";
|
||||
inherit (get-activity-lib) version src;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
buildInputs = [
|
||||
get-activity-lib
|
||||
cmdliner
|
||||
dune-build-info
|
||||
fmt
|
||||
logs
|
||||
];
|
||||
|
||||
checkInputs = [ ppx_expect alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/tarides/get-activity";
|
||||
description = "Collect activity and format as markdown for a journal";
|
||||
license = lib.licenses.mit;
|
||||
changelog = "https://github.com/tarides/get-activity/releases/tag/${version}";
|
||||
maintainers = with lib.maintainers; [ zazedd ];
|
||||
};
|
||||
}
|
52
pkgs/development/ocaml-modules/get-activity/lib.nix
Normal file
52
pkgs/development/ocaml-modules/get-activity/lib.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildDunePackage,
|
||||
fetchFromGitHub,
|
||||
ppx_expect,
|
||||
astring,
|
||||
curly,
|
||||
fmt,
|
||||
logs,
|
||||
ppx_yojson_conv,
|
||||
ppx_yojson_conv_lib,
|
||||
yojson,
|
||||
alcotest
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "get-activity-lib";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tarides";
|
||||
repo = "get-activity";
|
||||
rev = version;
|
||||
hash = "sha256-QU/LPIxcem5nFvSxcNApOuBu6UHqLHIXVSOJ2UT0eKA=";
|
||||
};
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
buildInputs = [ ppx_yojson_conv ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
astring
|
||||
curly
|
||||
fmt
|
||||
logs
|
||||
ppx_yojson_conv_lib
|
||||
yojson
|
||||
];
|
||||
|
||||
checkInputs = [ ppx_expect alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/tarides/get-activity";
|
||||
description = "Collect activity and format as markdown for a journal (lib)";
|
||||
license = lib.licenses.mit;
|
||||
changelog = "https://github.com/tarides/get-activity/releases/tag/${version}";
|
||||
maintainers = with lib.maintainers; [ zazedd ];
|
||||
};
|
||||
}
|
||||
|
@ -585,6 +585,10 @@ let
|
||||
|
||||
genspio = callPackage ../development/ocaml-modules/genspio { };
|
||||
|
||||
get-activity = callPackage ../development/ocaml-modules/get-activity { };
|
||||
|
||||
get-activity-lib = callPackage ../development/ocaml-modules/get-activity/lib.nix { };
|
||||
|
||||
getopt = callPackage ../development/ocaml-modules/getopt { };
|
||||
|
||||
gettext-camomile = callPackage ../development/ocaml-modules/ocaml-gettext/camomile.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user