Merge pull request #124031 from fortuneteller2k/lemonbar-xft

authored by Sandro and committed by GitHub 5047c27e 3a3543ed

+24 -19
+12 -9
pkgs/applications/window-managers/lemonbar/default.nix
··· 1 - { lib, stdenv, fetchurl, perl, libxcb }: 2 3 - stdenv.mkDerivation { 4 - name = "lemonbar-1.4"; 5 6 - src = fetchurl { 7 - url = "https://github.com/LemonBoy/bar/archive/v1.4.tar.gz"; 8 - sha256 = "0fa91vb968zh6fyg97kdaix7irvqjqhpsb6ks0ggcl59lkbkdzbv"; 9 }; 10 11 buildInputs = [ libxcb perl ]; 12 13 - prePatch = ''sed -i "s@/usr@$out@" Makefile''; 14 15 meta = with 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 }; 22 }
··· 1 + { lib, stdenv, fetchFromGitHub, perl, libxcb }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "lemonbar"; 5 + version = "1.4"; 6 7 + src = fetchFromGitHub { 8 + owner = "LemonBoy"; 9 + repo = "bar"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-lmppcnQ8r4jEuhegpTBxYqxfTTS/IrbtQVZ44HqnoWo="; 12 }; 13 14 buildInputs = [ libxcb perl ]; 15 16 + installFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; 17 18 meta = with lib; { 19 description = "A lightweight xcb based bar"; 20 homepage = "https://github.com/LemonBoy/bar"; 21 + maintainers = with maintainers; [ meisternu fortuneteller2k ]; 22 + license = licenses.mit; 23 platforms = platforms.linux; 24 }; 25 }
+12 -10
pkgs/applications/window-managers/lemonbar/xft.nix
··· 1 { lib, stdenv, fetchFromGitHub, perl, libxcb, libXft }: 2 3 stdenv.mkDerivation { 4 - name = "lemonbar-xft-unstable-2016-02-17"; 5 6 src = fetchFromGitHub { 7 - owner = "krypt-n"; 8 - repo = "bar"; 9 - rev = "a43b801ddc0f015ce8b1211f4c062fad12cd63a9"; 10 - sha256 = "0iqas07qjvabxyvna2m9aj5bcwnkdii1izl9jxha63vz0zlsc4gd"; 11 }; 12 13 buildInputs = [ libxcb libXft perl ]; 14 15 - prePatch = ''sed -i "s@/usr@$out@" Makefile''; 16 17 - meta = { 18 description = "A lightweight xcb based bar with XFT-support"; 19 - homepage = "https://github.com/krypt-n/bar"; 20 - license = "Custom"; 21 - platforms = lib.platforms.linux; 22 }; 23 }
··· 1 { lib, stdenv, fetchFromGitHub, perl, libxcb, libXft }: 2 3 stdenv.mkDerivation { 4 + pname = "lemonbar-xft"; 5 + version = "unstable-2020-09-10"; 6 7 src = fetchFromGitHub { 8 + owner = "drscream"; 9 + repo = "lemonbar-xft"; 10 + rev = "481e12363e2a0fe0ddd2176a8e003392be90ed02"; 11 + sha256 = "sha256-BNYBbUouqqsRQaPkpg+UKg62IV9uI34gKJuiAM94CBU="; 12 }; 13 14 buildInputs = [ libxcb libXft perl ]; 15 16 + installFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; 17 18 + meta = with lib; { 19 description = "A lightweight xcb based bar with XFT-support"; 20 + homepage = "https://github.com/drscream/lemonbar-xft"; 21 + license = licenses.mit; 22 + platforms = platforms.linux; 23 + maintainers = with maintainers; [ fortuneteller2k ]; 24 }; 25 }