Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ python3Packages, fetchFromGitHub, lib }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "systemd-wait"; 5 version = "0.1+2018-10-05"; 6 7 src = fetchFromGitHub { 8 owner = "Stebalien"; 9 repo = pname; 10 rev = "bbb58dd4584cc08ad20c3888edb7628f28aee3c7"; 11 sha256 = "1l8rd0wzf3m7fk0g1c8wc0csdisdfac0filhixpgp0ck9ignayq5"; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ 15 dbus-python pygobject3 16 ]; 17 18 meta = { 19 homepage = "https://github.com/Stebalien/systemd-wait"; 20 license = lib.licenses.gpl3; 21 description = "Wait for a systemd unit to enter a specific state"; 22 maintainers = [ lib.maintainers.benley ]; 23 platforms = lib.platforms.linux; 24 }; 25}