From 13883ff4bce838c91dd318e62195804afcdccf1a Mon Sep 17 00:00:00 2001 From: Benjamin Staffin Date: Fri, 5 Oct 2018 17:01:30 -0400 Subject: systemd-wait: init at 0.1+2018-10-05 --- pkgs/os-specific/linux/systemd-wait/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 pkgs/os-specific/linux/systemd-wait/default.nix diff --git a/pkgs/os-specific/linux/systemd-wait/default.nix b/pkgs/os-specific/linux/systemd-wait/default.nix new file mode 100644 index 00000000000..114f4c2444e --- /dev/null +++ b/pkgs/os-specific/linux/systemd-wait/default.nix @@ -0,0 +1,25 @@ +{ python3Packages, fetchFromGitHub, lib }: + +python3Packages.buildPythonApplication rec { + pname = "systemd-wait"; + version = "0.1+2018-10-05"; + + src = fetchFromGitHub { + owner = "Stebalien"; + repo = pname; + rev = "bbb58dd4584cc08ad20c3888edb7628f28aee3c7"; + sha256 = "1l8rd0wzf3m7fk0g1c8wc0csdisdfac0filhixpgp0ck9ignayq5"; + }; + + propagatedBuildInputs = with python3Packages; [ + dbus-python pygobject3 + ]; + + meta = { + homepage = https://github.com/Stebalien/systemd-wait; + license = lib.licenses.gpl3; + description = "Wait for a systemd unit to enter a specific state"; + maintainers = [ lib.maintainers.benley ]; + platforms = lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f1a04e63699..2d57ae3bb91 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1539,7 +1539,7 @@ with pkgs; riot-web = callPackage ../applications/networking/instant-messengers/riot/riot-web.nix { conf = config.riot-web.conf or null; }; - + roundcube = callPackage ../servers/roundcube { }; rsbep = callPackage ../tools/backup/rsbep { }; @@ -14746,6 +14746,8 @@ with pkgs; ''; })); + systemd-wait = callPackages ../os-specific/linux/systemd-wait { }; + sysvinit = callPackage ../os-specific/linux/sysvinit { }; sysvtools = sysvinit.override { -- cgit 1.4.1