summary refs log blame commit diff
path: root/pkgs/os-specific/linux/systemd-wait/default.nix
blob: 348549a1bc64adb15cb2dcda3983024b065a8a77 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                    
                                                           





                                                                      
{ 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;
  };
}