Merge branch 'master' into staging

This commit is contained in:
Franz Pletz 2017-10-24 16:07:49 +02:00
commit 89640746b5
No known key found for this signature in database
GPG key ID: 846FDED7792617B4
5 changed files with 39 additions and 4 deletions

View file

@ -674,6 +674,7 @@
xwvvvvwx = "David Terry <davidterry@posteo.de>"; xwvvvvwx = "David Terry <davidterry@posteo.de>";
yarr = "Dmitry V. <savraz@gmail.com>"; yarr = "Dmitry V. <savraz@gmail.com>";
yegortimoshenko = "Yegor Timoshenko <yegortimoshenko@gmail.com>"; yegortimoshenko = "Yegor Timoshenko <yegortimoshenko@gmail.com>";
ylwghst = "Burim Augustin Berisa <ylwghst@onionmail.info>";
yochai = "Yochai <yochai@titat.info>"; yochai = "Yochai <yochai@titat.info>";
yorickvp = "Yorick van Pelt <yorickvanpelt@gmail.com>"; yorickvp = "Yorick van Pelt <yorickvanpelt@gmail.com>";
yuriaisaka = "Yuri Aisaka <yuri.aisaka+nix@gmail.com>"; yuriaisaka = "Yuri Aisaka <yuri.aisaka+nix@gmail.com>";

View file

@ -122,7 +122,7 @@ let
'' ''
set +o pipefail set +o pipefail
for component in ${all-cabal-hashes}/*; do for component in ${all-cabal-hashes}/*; do
if ls $component | grep -q ${name}; then if ls $component | grep -q "^${name}$"; then
echo "builtins.storePath $component" > $out echo "builtins.storePath $component" > $out
exit 0 exit 0
fi fi

View file

@ -1,6 +1,6 @@
{ callPackage, ... } @ args: { callPackage, ... } @ args:
callPackage ./generic.nix (args // { callPackage ./generic.nix (args // {
version = "1.12.1"; version = "1.12.2";
sha256 = "1yvnmj7vlykrqdi6amkvs63lva6qkxd98sqv0a8hz8w5ci1bz4w7"; sha256 = "05h4rwja7170z0l979yjghy9i9ichllwhicylzpmmyyml6fkfprh";
}) })

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, dbus, pkgconfig }:
stdenv.mkDerivation rec {
name = "notify-desktop";
version = "0.2.0";
src = fetchFromGitHub {
owner = "nowrep";
repo = "notify-desktop";
rev = "9863919fb4ce7820810ac14a09a46ee73c3d56cc";
sha256 = "1brcvl2fx0yzxj9mc8hzfl32zdka1f1bxpzsclcsjplyakyinr1a";
};
buildInputs = [ dbus pkgconfig ];
installPhase = ''
mkdir -p $out/bin
install -m 755 bin/notify-desktop $out/bin/notify-desktop
'';
meta = with stdenv.lib; {
description = "Little application that lets you send desktop notifications with one command";
longDescription = ''
It's basically clone of notify-send from libnotify,
but it supports reusing notifications on screen by passing its ID.
It also does not use any external dependencies (except from libdbus of course).
'';
homepage = "https://github.com/nowrep/notify-desktop";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ ylwghst ];
};
}

View file

@ -3572,6 +3572,8 @@ with pkgs;
nixbot = callPackage ../tools/misc/nixbot {}; nixbot = callPackage ../tools/misc/nixbot {};
notify-desktop = callPackage ../tools/misc/notify-desktop {};
nkf = callPackage ../tools/text/nkf {}; nkf = callPackage ../tools/text/nkf {};
nlopt = callPackage ../development/libraries/nlopt { octave = null; }; nlopt = callPackage ../development/libraries/nlopt { octave = null; };
@ -17325,7 +17327,6 @@ with pkgs;
gconf = gnome2.GConf; gconf = gnome2.GConf;
inherit (gnome2) libglade scrollkeeper; inherit (gnome2) libglade scrollkeeper;
gtkhtml = gnome2.gtkhtml4; gtkhtml = gnome2.gtkhtml4;
webkitgtk = webkitgtk217x;
python = python27; python = python27;
}; };