From 646a77739b23425cc17126714992d14626222b56 Mon Sep 17 00:00:00 2001 From: Yellow Ghost Date: Tue, 24 Oct 2017 02:57:58 +0200 Subject: [PATCH 1/4] notify-desktop: init at 0.2.0 notify-desktop package added improved code synopsis --- lib/maintainers.nix | 1 + pkgs/tools/misc/notify-desktop/default.nix | 33 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 36 insertions(+) create mode 100644 pkgs/tools/misc/notify-desktop/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index a44dc3d4da0..6a6dc1fe336 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -674,6 +674,7 @@ xwvvvvwx = "David Terry "; yarr = "Dmitry V. "; yegortimoshenko = "Yegor Timoshenko "; + ylwghst = "Burim Augustin Berisa "; yochai = "Yochai "; yorickvp = "Yorick van Pelt "; yuriaisaka = "Yuri Aisaka "; diff --git a/pkgs/tools/misc/notify-desktop/default.nix b/pkgs/tools/misc/notify-desktop/default.nix new file mode 100644 index 00000000000..661f4f4f435 --- /dev/null +++ b/pkgs/tools/misc/notify-desktop/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d1d5a5ae30c..046d5035319 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3572,6 +3572,8 @@ with pkgs; nixbot = callPackage ../tools/misc/nixbot {}; + notify-desktop = callPackage ../tools/misc/notify-desktop {}; + nkf = callPackage ../tools/text/nkf {}; nlopt = callPackage ../development/libraries/nlopt { octave = null; }; From 160685725eac9adcc061a49f72cb3e7cd72d4e50 Mon Sep 17 00:00:00 2001 From: Ryan Trinkle Date: Tue, 24 Oct 2017 09:42:22 -0400 Subject: [PATCH 2/4] haskell-packages: fix all-cabal-hashes component lookup Previously, if a package name in a later component was a substring of a package name in an earlier component, the earlier component would be selected due to a partial-name match. This commit prevents partial matches. --- pkgs/development/haskell-modules/make-package-set.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix index c234ff3e780..ebfe44dd25a 100644 --- a/pkgs/development/haskell-modules/make-package-set.nix +++ b/pkgs/development/haskell-modules/make-package-set.nix @@ -122,7 +122,7 @@ let '' set +o pipefail 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 exit 0 fi From 0bb7a1b82ac8d5597619eabcb43ec4f12eb457f4 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Tue, 24 Oct 2017 16:06:11 +0200 Subject: [PATCH 3/4] webkitgtk: fix evaluation --- pkgs/top-level/all-packages.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 046d5035319..6998f3a82c0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17327,7 +17327,6 @@ with pkgs; gconf = gnome2.GConf; inherit (gnome2) libglade scrollkeeper; gtkhtml = gnome2.gtkhtml4; - webkitgtk = webkitgtk217x; python = python27; }; From 0f0fcf84ce962cbcc7dfee255f91cba926159705 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Tue, 24 Oct 2017 16:06:51 +0200 Subject: [PATCH 4/4] nginx: 1.12.1 -> 1.12.2 --- pkgs/servers/http/nginx/stable.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/nginx/stable.nix b/pkgs/servers/http/nginx/stable.nix index aa03d6162dd..7bd74c3a332 100644 --- a/pkgs/servers/http/nginx/stable.nix +++ b/pkgs/servers/http/nginx/stable.nix @@ -1,6 +1,6 @@ { callPackage, ... } @ args: callPackage ./generic.nix (args // { - version = "1.12.1"; - sha256 = "1yvnmj7vlykrqdi6amkvs63lva6qkxd98sqv0a8hz8w5ci1bz4w7"; + version = "1.12.2"; + sha256 = "05h4rwja7170z0l979yjghy9i9ichllwhicylzpmmyyml6fkfprh"; })