nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 python3Packages,
3 fetchFromGitHub,
4 lib,
5}:
6
7python3Packages.buildPythonApplication {
8 pname = "systemd-wait";
9 version = "0.1+2018-10-05";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "Stebalien";
14 repo = "systemd-wait";
15 rev = "bbb58dd4584cc08ad20c3888edb7628f28aee3c7";
16 sha256 = "1l8rd0wzf3m7fk0g1c8wc0csdisdfac0filhixpgp0ck9ignayq5";
17 };
18
19 build-system = with python3Packages; [ setuptools ];
20
21 dependencies = with python3Packages; [
22 dbus-python
23 pygobject3
24 ];
25
26 meta = {
27 homepage = "https://github.com/Stebalien/systemd-wait";
28 license = lib.licenses.gpl3;
29 description = "Wait for a systemd unit to enter a specific state";
30 mainProgram = "systemd-wait";
31 maintainers = [ lib.maintainers.benley ];
32 platforms = lib.platforms.linux;
33 };
34}