Skip to content

Commit

Permalink
ocamlPackages.systemd: init at 1.3 (#372037)
Browse files Browse the repository at this point in the history
  • Loading branch information
atagen authored Jan 9, 2025
1 parent 6355c63 commit 594dd76
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/ocaml-modules/systemd/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
systemdLibs,
}:
buildDunePackage {
pname = "systemd";
version = "1.3";
src = fetchFromGitHub {
owner = "juergenhoetzel";
repo = "ocaml-systemd";
rev = "1.3";
hash = "sha256-/FV+mFhuB3mEZv34XZrA4gO6+QIYssXqurnvkNBTJ2o=";
};
minimalOCamlVersion = "4.06";
propagatedBuildInputs = [ systemdLibs ];
meta = {
platform = lib.platforms.linux;
description = "OCaml module for native access to the systemd facilities";
license = lib.licenses.lgpl3Only;
maintainers = [ lib.maintainers.atagen ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1819,6 +1819,8 @@ let

syslog-message = callPackage ../development/ocaml-modules/syslog-message { };

systemd = callPackage ../development/ocaml-modules/systemd { };

### T ###

taglib = callPackage ../development/ocaml-modules/taglib {
Expand Down

0 comments on commit 594dd76

Please sign in to comment.