Co-authored-by: Sandro <sandro.jaeckel@gmail.com>launchpad/nixpkgs/master
parent
f7d9b2016c
commit
0331c3ecf4
@ -1,22 +1,25 @@ |
||||
{ lib, stdenv, fetchurl, perl, libxcb }: |
||||
{ lib, stdenv, fetchFromGitHub, perl, libxcb }: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "lemonbar-1.4"; |
||||
stdenv.mkDerivation rec { |
||||
pname = "lemonbar"; |
||||
version = "1.4"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/LemonBoy/bar/archive/v1.4.tar.gz"; |
||||
sha256 = "0fa91vb968zh6fyg97kdaix7irvqjqhpsb6ks0ggcl59lkbkdzbv"; |
||||
src = fetchFromGitHub { |
||||
owner = "LemonBoy"; |
||||
repo = "bar"; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-lmppcnQ8r4jEuhegpTBxYqxfTTS/IrbtQVZ44HqnoWo="; |
||||
}; |
||||
|
||||
buildInputs = [ libxcb perl ]; |
||||
|
||||
prePatch = ''sed -i "s@/usr@$out@" Makefile''; |
||||
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "A lightweight xcb based bar"; |
||||
homepage = "https://github.com/LemonBoy/bar"; |
||||
maintainers = [ maintainers.meisternu ]; |
||||
license = "Custom"; |
||||
maintainers = with maintainers; [ meisternu fortuneteller2k ]; |
||||
license = licenses.mit; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
||||
|
Loading…
Reference in new issue