ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoPatchelfHook
|
|
, wrapGAppsHook
|
|
, hicolor-icon-theme
|
|
, gtk3
|
|
, gobject-introspection
|
|
, libxml2
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "deadd-notification-center";
|
|
version = "1.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phuhl";
|
|
repo = "linux_notification_center";
|
|
rev = version;
|
|
sha256 = "QaOLrtlhQyhMOirk6JO1yMGRrgycHmF9FAdKNbN2TRk=";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
|
|
nativeBuildInputs = [
|
|
autoPatchelfHook
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
gobject-introspection
|
|
libxml2
|
|
hicolor-icon-theme
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin $out/share/dbus-1/services
|
|
|
|
cp $src/.out/${pname} $out/bin/
|
|
chmod +x $out/bin/${pname}
|
|
|
|
sed "s|##PREFIX##|$out|g" $src/${pname}.service.in > \
|
|
$out/share/dbus-1/services/com.ph-uhl.deadd.notification.service
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A haskell-written notification center for users that like a desktop with style";
|
|
homepage = "https://github.com/phuhl/linux_notification_center";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.pacman99 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|