xnotify: init at unstable-2022-02-18

authored by

Azat Bahawi and committed by
Jonathan Ringer
26329f9a 6aa5e1ab

+61
+59
pkgs/tools/X11/xnotify/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , writeText 5 + , fontconfig 6 + , imlib2 7 + , libX11 8 + , libXft 9 + , libXinerama 10 + , conf ? null 11 + , nix-update-script 12 + }: 13 + 14 + stdenv.mkDerivation rec { 15 + pname = "xnotify"; 16 + version = "unstable-2022-02-18"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "phillbush"; 20 + repo = "xnotify"; 21 + rev = "58c7d5763c3fb1c32a76560c85d20a25f59d4687"; 22 + sha256 = "sha256-BSZesuBGAWYp3IMiiZi6CAyZEiz3sBJLQe6/JnxviLs="; 23 + }; 24 + 25 + buildInputs = [ 26 + fontconfig 27 + imlib2 28 + libX11 29 + libXft 30 + libXinerama 31 + ]; 32 + 33 + postPatch = with lib; 34 + let 35 + configFile = 36 + if isDerivation conf || builtins.isPath conf 37 + then conf else writeText "config.h" conf; 38 + in 39 + optionalString (conf != null) "cp ${configFile} config.h"; 40 + 41 + makeFlags = [ "PREFIX=$(out)" ]; 42 + 43 + passthru.updateScript = nix-update-script { 44 + attrPath = pname; 45 + }; 46 + 47 + meta = with lib; { 48 + description = "A tool to read notifications from stdin and pop them up on the screen"; 49 + longDescription = '' 50 + XNotify displays a notification on the screen. XNotify receives a 51 + notification specification in stdin and shows a notification for the user 52 + on the screen. 53 + ''; 54 + homepage = "https://github.com/phillbush/xnotify"; 55 + license = licenses.mit; 56 + maintainers = with maintainers; [ azahi ]; 57 + platforms = platforms.unix; 58 + }; 59 + }
+2
pkgs/top-level/all-packages.nix
··· 31388 31388 31389 31389 xnee = callPackage ../tools/X11/xnee { }; 31390 31390 31391 + xnotify = callPackage ../tools/X11/xnotify { }; 31392 + 31391 31393 xvidcap = callPackage ../applications/video/xvidcap { 31392 31394 inherit (gnome2) scrollkeeper libglade; 31393 31395 };