mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #89118 from Pacman99/notification-center
deadd-notification-center: init at 1.7.2
This commit is contained in:
commit
ea85760820
3 changed files with 59 additions and 0 deletions
|
@ -6701,6 +6701,12 @@
|
|||
githubId = 1449319;
|
||||
name = "Pacien Tran-Girard";
|
||||
};
|
||||
pacman99 = {
|
||||
email = "pachum99@gmail.com";
|
||||
github = "Pacman99";
|
||||
githubId = 16345849;
|
||||
name = "Parthiv Seetharaman";
|
||||
};
|
||||
paddygord = {
|
||||
email = "pgpatrickgordon@gmail.com";
|
||||
github = "paddygord";
|
||||
|
|
51
pkgs/applications/misc/deadd-notification-center/default.nix
Normal file
51
pkgs/applications/misc/deadd-notification-center/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ stdenv
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, gtk3
|
||||
, gobject-introspection
|
||||
, libxml2
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.7.2";
|
||||
|
||||
dbusService = fetchurl {
|
||||
url = "https://github.com/phuhl/linux_notification_center/raw/${version}/com.ph-uhl.deadd.notification.service.in";
|
||||
sha256 = "0jvmi1c98hm8x1x7kw9ws0nbf4y56yy44c3bqm6rjj4lrm89l83s";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
inherit version;
|
||||
pname = "deadd-notification-center";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/phuhl/linux_notification_center/releases/download/${version}/${pname}";
|
||||
sha256 = "13f15slkjiw2n5dnqj13dprhqm3nf1k11jqaqda379yhgygyp9zm";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
gobject-introspection
|
||||
libxml2
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/dbus-1/services
|
||||
cp $src $out/bin/deadd-notification-center
|
||||
chmod +x $out/bin/deadd-notification-center
|
||||
|
||||
sed "s|##PREFIX##|$out|g" ${dbusService} > $out/share/dbus-1/services/com.ph-uhl.deadd.notification.service
|
||||
'';
|
||||
|
||||
meta = with stdenv.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;
|
||||
};
|
||||
}
|
|
@ -21620,6 +21620,8 @@ in
|
|||
|
||||
linssid = libsForQt5.callPackage ../applications/networking/linssid { };
|
||||
|
||||
deadd-notification-center = callPackage ../applications/misc/deadd-notification-center/default.nix { };
|
||||
|
||||
lollypop = callPackage ../applications/audio/lollypop { };
|
||||
|
||||
m32edit = callPackage ../applications/audio/midas/m32edit.nix {};
|
||||
|
|
Loading…
Reference in a new issue