lemonbar: 1.1 -> 1.2pre
'bar' has been officially renamed 'lemonbar'. Last release (1.1) is almost a year old, but some bugfixes and new features are available in the repository, let's include them in the derivation.
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
{ stdenv, fetchurl, perl, libxcb }:
|
||||
|
||||
let
|
||||
version = "1.1";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bar-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/LemonBoy/bar/archive/v${version}.tar.gz";
|
||||
sha256 = "171ciw676cvj80zzbqfbg9nwix36zph0683zmqf279q9b9bmayan";
|
||||
};
|
||||
|
||||
buildInputs = [ libxcb perl ];
|
||||
|
||||
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
|
||||
|
||||
meta = {
|
||||
description = "A lightweight xcb based bar";
|
||||
homepage = https://github.com/LemonBoy/bar;
|
||||
maintainers = [ stdenv.lib.maintainers.meisternu ];
|
||||
license = "Custom";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, perl, libxcb }:
|
||||
|
||||
let
|
||||
version = "1.2pre";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lemonbar-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LemonBoy";
|
||||
repo = "bar";
|
||||
rev = "61985278f2af1e4e85d63a696ffedc5616b06bc0";
|
||||
sha256 = "0a8djlayimjdg5fj50lpifsv6gkb577bca68wmk9wg9y9n27pgay";
|
||||
};
|
||||
|
||||
buildInputs = [ libxcb perl ];
|
||||
|
||||
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A lightweight xcb based bar";
|
||||
homepage = https://github.com/LemonBoy/bar;
|
||||
maintainers = [ maintainers.meisternu ];
|
||||
license = "Custom";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user