systembus-notify: init at 1.0 (#88441)

* systembus-notify: init at 1.0

* systembus-notify: make it autostart
This commit is contained in:
oxalica 2020-05-24 23:46:22 +08:00 committed by GitHub
parent 919b0554e0
commit b53605ac89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, systemd }:
stdenv.mkDerivation rec {
pname = "systembus-notify";
version = "1.0";
src = fetchFromGitHub {
owner = "rfjakob";
repo = "systembus-notify";
rev = "v${version}";
sha256 = "11zq84qfmbyl51d3r6294l2bjhlgwa9bx7d263g9fkqrwsg0si0y";
};
buildInputs = [ systemd ];
installPhase = ''
runHook preInstall
install -Dm755 systembus-notify -t $out/bin
install -Dm644 systembus-notify.desktop -t $out/etc/xdg/autostart
runHook postInstall
'';
meta = with stdenv.lib; {
description = "System bus notification daemon";
homepage = "https://github.com/rfjakob/systembus-notify";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [];
};
}

View File

@ -6907,6 +6907,8 @@ in
libxml2 = libxml2Python;
};
systembus-notify = callPackage ../applications/misc/systembus-notify { };
stricat = callPackage ../tools/security/stricat { };
staruml = callPackage ../tools/misc/staruml { inherit (gnome2) GConf; libgcrypt = libgcrypt_1_5; };