Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 46e2c041c2a2
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6cd64dacb41d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 19, 2021

  1. deadd-notification-center: 1.7.2 -> 1.7.3

    Pacman99 committed Jan 19, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    samueljsb Samuel Searles-Bryant
    Copy the full SHA
    90872de View commit details

Commits on Jan 20, 2021

  1. Merge pull request #109901 from Pacman99/deadd-update

    deadd-notification-center: 1.7.2 -> 1.7.3
    SuperSandro2000 authored Jan 20, 2021
    Copy the full SHA
    6cd64da View commit details
Showing with 21 additions and 19 deletions.
  1. +21 −19 pkgs/applications/misc/deadd-notification-center/default.nix
40 changes: 21 additions & 19 deletions pkgs/applications/misc/deadd-notification-center/default.nix
Original file line number Diff line number Diff line change
@@ -1,44 +1,46 @@
{ lib, stdenv
, fetchurl
{ lib
, stdenv
, fetchFromGitHub
, autoPatchelfHook
, wrapGAppsHook
, hicolor-icon-theme
, 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";
version = "1.7.3";

src = fetchurl {
url = "https://github.com/phuhl/linux_notification_center/releases/download/${version}/${pname}";
sha256 = "13f15slkjiw2n5dnqj13dprhqm3nf1k11jqaqda379yhgygyp9zm";
src = fetchFromGitHub {
owner = "phuhl";
repo = "linux_notification_center";
rev = version;
sha256 = "QaOLrtlhQyhMOirk6JO1yMGRrgycHmF9FAdKNbN2TRk=";
};

dontUnpack = true;

nativeBuildInputs = [ autoPatchelfHook ];
nativeBuildInputs = [
autoPatchelfHook
wrapGAppsHook
];

buildInputs = [
gtk3
gobject-introspection
libxml2
hicolor-icon-theme
];

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
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; {