18 stdenv.mkDerivation rec {
22 src = fetchFromGitHub {
26 sha256 = "sha256-sFOvkr6WbiP99GNAttK9ZmRg+O/hoUQDCnW7vq9s/vo=";
30 updateScript = nix-update-script { };
33 enableParallelBuilding = true;
35 nativeBuildInputs = [ pkg-config meson ninja glib ];
37 buildInputs = [ curl dbus glib json-glib openssl util-linux libnl systemd ];
41 (lib.mesonOption "systemdunitdir" "${placeholder "out"}/lib/systemd/system")
42 (lib.mesonOption "dbusinterfacesdir" "${placeholder "out"}/share/dbus-1/interfaces")
43 (lib.mesonOption "dbuspolicydir" "${placeholder "out"}/share/dbus-1/system.d")
44 (lib.mesonOption "dbussystemservicedir" "${placeholder "out"}/share/dbus-1/system-services")
48 description = "Safe and secure software updates for embedded Linux";
49 homepage = "https://rauc.io";
50 license = licenses.lgpl21Only;
51 maintainers = with maintainers; [ emantor ];
52 platforms = with platforms; linux;