nixpkgs/pkgs/os-specific/linux/systemd-wait/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
726 B
Nix

{ 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";
mainProgram = "systemd-wait";
maintainers = [ lib.maintainers.benley ];
platforms = lib.platforms.linux;
};
}