lemonbar: 1.2pre -> 1.2

This commit is contained in:
Chris Darnell 2016-10-08 20:52:07 -04:00
parent 0d59fc1169
commit 9e577f4742

View File

@ -1,27 +1,22 @@
{ stdenv, fetchFromGitHub, perl, libxcb }: { stdenv, fetchurl, perl, libxcb }:
let stdenv.mkDerivation rec {
version = "1.2pre"; name = "lemonbar-1.2";
in
stdenv.mkDerivation rec {
name = "lemonbar-${version}";
src = fetchFromGitHub { src = fetchurl {
owner = "LemonBoy"; url = "https://github.com/LemonBoy/bar/archive/v1.2.tar.gz";
repo = "bar"; sha256 = "1smz8lh930bnb6a4lrm07l3z2k071kc8p2pljk5wsrch3x2xhimq";
rev = "61985278f2af1e4e85d63a696ffedc5616b06bc0"; };
sha256 = "0a8djlayimjdg5fj50lpifsv6gkb577bca68wmk9wg9y9n27pgay";
};
buildInputs = [ libxcb perl ]; buildInputs = [ libxcb perl ];
prePatch = ''sed -i "s@/usr@$out@" Makefile''; prePatch = ''sed -i "s@/usr@$out@" Makefile'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A lightweight xcb based bar"; description = "A lightweight xcb based bar";
homepage = https://github.com/LemonBoy/bar; homepage = https://github.com/LemonBoy/bar;
maintainers = [ maintainers.meisternu ]; maintainers = [ maintainers.meisternu ];
license = "Custom"; license = "Custom";
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }