sxhkd: 0.5.6 -> 0.5.8 (#30184)

* sxhkd: code style nitpicks

* sxhkd: add vyp as maintainer

* sxhkd: use list instead of string for makeFlags

* sxhkd: use fetchFromGitHub instead of fetchurl

* sxhkd: 0.5.6 -> 0.5.8
This commit is contained in:
xd1le 2017-10-07 21:26:25 +11:00 committed by Frederik Rietdijk
parent a9e090f749
commit deba67f2b3

View File

@ -1,22 +1,27 @@
{ stdenv, fetchurl, asciidoc, libxcb, xcbutil, xcbutilkeysyms, xcbutilwm }: { stdenv, fetchFromGitHub, asciidoc, libxcb, xcbutil, xcbutilkeysyms
, xcbutilwm
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sxhkd-${version}"; name = "sxhkd-${version}";
version = "0.5.6"; version = "0.5.8";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/baskerville/sxhkd/archive/${version}.tar.gz"; owner = "baskerville";
sha256 = "15grmzpxz5fqlbfg2slj7gb7r6nzkvjmflmbkqx7mlby9pm6wdkj"; repo = "sxhkd";
rev = version;
sha256 = "0vnm0d2ckijsp8kc2v8jz4raamb487vg62v58v01a3rb9gzzgl06";
}; };
buildInputs = [ asciidoc libxcb xcbutil xcbutilkeysyms xcbutilwm ]; buildInputs = [ asciidoc libxcb xcbutil xcbutilkeysyms xcbutilwm ];
makeFlags = ''PREFIX=$(out)''; makeFlags = [ "PREFIX=$(out)" ];
meta = { meta = with stdenv.lib; {
description = "Simple X hotkey daemon"; description = "Simple X hotkey daemon";
homepage = https://github.com/baskerville/sxhkd/; homepage = "https://github.com/baskerville/sxhkd";
license = stdenv.lib.licenses.bsd2; license = licenses.bsd2;
platforms = stdenv.lib.platforms.linux; maintainers = with maintainers; [ vyp ];
platforms = platforms.linux;
}; };
} }