summary refs log tree commit diff
path: root/pkgs/applications/window-managers/lemonbar
diff options
context:
space:
mode:
authorfortuneteller2k <lythe1107@gmail.com>2021-05-22 22:05:03 +0800
committerfortuneteller2k <lythe1107@gmail.com>2021-05-22 22:05:03 +0800
commitf7d9b2016cd4bd81e08cffafd53985c2454fa399 (patch)
tree05371d8d4906db5043e147f2b408147dcc79298b /pkgs/applications/window-managers/lemonbar
parentf29969988d2744435e820bf0df36919ac9980dbc (diff)
downloadnixpkgs-f7d9b2016cd4bd81e08cffafd53985c2454fa399.tar
nixpkgs-f7d9b2016cd4bd81e08cffafd53985c2454fa399.tar.gz
nixpkgs-f7d9b2016cd4bd81e08cffafd53985c2454fa399.tar.bz2
nixpkgs-f7d9b2016cd4bd81e08cffafd53985c2454fa399.tar.lz
nixpkgs-f7d9b2016cd4bd81e08cffafd53985c2454fa399.tar.xz
nixpkgs-f7d9b2016cd4bd81e08cffafd53985c2454fa399.tar.zst
nixpkgs-f7d9b2016cd4bd81e08cffafd53985c2454fa399.zip
lemonbar-xft: 2016-02-17 -> 2020-09-10, cleanup
Diffstat (limited to 'pkgs/applications/window-managers/lemonbar')
-rw-r--r--pkgs/applications/window-managers/lemonbar/xft.nix22
1 files changed, 12 insertions, 10 deletions
diff --git a/pkgs/applications/window-managers/lemonbar/xft.nix b/pkgs/applications/window-managers/lemonbar/xft.nix
index b318b39709a..15b70117b89 100644
--- a/pkgs/applications/window-managers/lemonbar/xft.nix
+++ b/pkgs/applications/window-managers/lemonbar/xft.nix
@@ -1,23 +1,25 @@
 { lib, stdenv, fetchFromGitHub, perl, libxcb, libXft }:
 
 stdenv.mkDerivation {
-  name = "lemonbar-xft-unstable-2016-02-17";
+  pname = "lemonbar-xft";
+  version = "unstable-2020-09-10";
 
   src = fetchFromGitHub {
-    owner  = "krypt-n";
-    repo   = "bar";
-    rev    = "a43b801ddc0f015ce8b1211f4c062fad12cd63a9";
-    sha256 = "0iqas07qjvabxyvna2m9aj5bcwnkdii1izl9jxha63vz0zlsc4gd";
+    owner = "drscream";
+    repo = "lemonbar-xft";
+    rev = "481e12363e2a0fe0ddd2176a8e003392be90ed02";
+    sha256 = "sha256-BNYBbUouqqsRQaPkpg+UKg62IV9uI34gKJuiAM94CBU=";
   };
 
   buildInputs = [ libxcb libXft perl ];
 
-  prePatch = ''sed -i "s@/usr@$out@" Makefile'';
+  installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
 
-  meta = {
+  meta = with lib; {
     description = "A lightweight xcb based bar with XFT-support";
-    homepage = "https://github.com/krypt-n/bar";
-    license = "Custom";
-    platforms = lib.platforms.linux;
+    homepage = "https://github.com/drscream/bar";
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ fortuneteller2k ];
   };
 }