nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 52 lines 1.0 kB view raw
1{ lib 2, buildPythonApplication 3, isPy3k 4, fetchFromGitHub 5, notmuch 6, pygobject3 7, gobject-introspection 8, libnotify 9, wrapGAppsHook 10, gtk3 11}: 12 13buildPythonApplication rec { 14 pname = "notifymuch"; 15 version = "0.1"; 16 disabled = !isPy3k; 17 18 src = fetchFromGitHub { 19 owner = "kspi"; 20 repo = "notifymuch"; 21 # https://github.com/kspi/notifymuch/issues/11 22 rev = "9d4aaf54599282ce80643b38195ff501120807f0"; 23 sha256 = "1lssr7iv43mp5v6nzrfbqlfzx8jcc7m636wlfyhhnd8ydd39n6k4"; 24 }; 25 26 propagatedBuildInputs = [ 27 notmuch 28 pygobject3 29 libnotify 30 gtk3 31 ]; 32 33 nativeBuildInputs = [ 34 gobject-introspection 35 wrapGAppsHook 36 ]; 37 38 dontWrapGApps = true; 39 40 preFixup = '' 41 makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 42 ''; 43 44 strictDeps = false; 45 46 meta = with lib; { 47 description = "Display desktop notifications for unread mail in a notmuch database"; 48 homepage = "https://github.com/kspi/notifymuch"; 49 maintainers = with maintainers; [ arjan-s ]; 50 license = licenses.gpl3; 51 }; 52}