1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 systemdLibs,
6}:
7buildDunePackage {
8 pname = "systemd";
9 version = "1.3";
10 src = fetchFromGitHub {
11 owner = "juergenhoetzel";
12 repo = "ocaml-systemd";
13 rev = "1.3";
14 hash = "sha256-/FV+mFhuB3mEZv34XZrA4gO6+QIYssXqurnvkNBTJ2o=";
15 };
16 minimalOCamlVersion = "4.06";
17 propagatedBuildInputs = [ systemdLibs ];
18 meta = {
19 platforms = lib.platforms.linux;
20 description = "OCaml module for native access to the systemd facilities";
21 license = lib.licenses.lgpl3Only;
22 maintainers = [ lib.maintainers.atagen ];
23 };
24}