mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
Entirely find-and-replace based. A few usages that would cause rebuilds if changed remain. This PR should have 0 rebuilds.
51 lines
1.0 KiB
Nix
51 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitLab,
|
|
python3Packages,
|
|
glib,
|
|
gobject-introspection,
|
|
wrapGAppsHook3,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication {
|
|
pname = "connman-notify";
|
|
version = "2019-10-05";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "wavexx";
|
|
repo = "connman-notify";
|
|
rev = "24b10a51721b54d932f4cd61ef2756423768c015";
|
|
hash = "sha256-EsF+Ckjojnn2o5PCDIexKrNIYxcIM1CZUNaTEIwvq8w=";
|
|
};
|
|
|
|
pyproject = false;
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [ glib ];
|
|
|
|
pythonPath = with python3Packages; [
|
|
dbus-python
|
|
pygobject3
|
|
];
|
|
|
|
strictDeps = false;
|
|
|
|
installPhase = ''
|
|
install -D -t $out/bin connman-notify
|
|
install -D -t $out/share/doc README.rst
|
|
'';
|
|
|
|
meta = {
|
|
description = "Desktop notification integration for connman";
|
|
mainProgram = "connman-notify";
|
|
homepage = "https://gitlab.com/wavexx/connman-notify";
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ lib.maintainers.romildo ];
|
|
};
|
|
}
|