@@ -1,27 +1,22 @@
1−{ stdenv, fetchFromGitHub, perl, libxcb }:
1+{ stdenv, fetchurl, perl, libxcb }:
22
3−let
4− version = "1.2pre";
5−in
6− stdenv.mkDerivation rec {
7− name = "lemonbar-${version}";
3+stdenv.mkDerivation rec {
4+ name = "lemonbar-1.2";
85
9− src = fetchFromGitHub {
10− owner = "LemonBoy";
11− repo = "bar";
12− rev = "61985278f2af1e4e85d63a696ffedc5616b06bc0";
13− sha256 = "0a8djlayimjdg5fj50lpifsv6gkb577bca68wmk9wg9y9n27pgay";
14− };
6+ src = fetchurl {
7+ url = "https://github.com/LemonBoy/bar/archive/v1.2.tar.gz";
8+ sha256 = "1smz8lh930bnb6a4lrm07l3z2k071kc8p2pljk5wsrch3x2xhimq";
9+ };
1510
16− buildInputs = [ libxcb perl ];
11+ buildInputs = [ libxcb perl ];
1712
18− prePatch = ''sed -i "s@/usr@$out@" Makefile'';
13+ prePatch = ''sed -i "s@/usr@$out@" Makefile'';
1914
20− meta = with stdenv.lib; {
21− description = "A lightweight xcb based bar";
22− homepage = https://github.com/LemonBoy/bar;
23− maintainers = [ maintainers.meisternu ];
24− license = "Custom";
25− platforms = platforms.linux;
26− };
15+ meta = with stdenv.lib; {
16+ description = "A lightweight xcb based bar";
17+ homepage = https://github.com/LemonBoy/bar;
18+ maintainers = [ maintainers.meisternu ];
19+ license = "Custom";
20+ platforms = platforms.linux;
21+ };
2722}