summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@higgsboson.tk>2016-10-09 09:36:32 +0200
committerGitHub <noreply@github.com>2016-10-09 09:36:32 +0200
commit09743075a971ec0639ed75887176c0373f85a97e (patch)
tree5f36262e7776dacd0ad6cec02414a6ceae7161f9 /pkgs
parent0d59fc1169654fa1f77e17ad73099895af7bba4d (diff)
parent9e577f47425cd23f4eaefea35118b83f794bad7d (diff)
downloadnixpkgs-09743075a971ec0639ed75887176c0373f85a97e.tar
nixpkgs-09743075a971ec0639ed75887176c0373f85a97e.tar.gz
nixpkgs-09743075a971ec0639ed75887176c0373f85a97e.tar.bz2
nixpkgs-09743075a971ec0639ed75887176c0373f85a97e.tar.lz
nixpkgs-09743075a971ec0639ed75887176c0373f85a97e.tar.xz
nixpkgs-09743075a971ec0639ed75887176c0373f85a97e.tar.zst
nixpkgs-09743075a971ec0639ed75887176c0373f85a97e.zip
Merge pull request #19375 from cedeel/lemonbar
lemonbar: 1.2pre -> 1.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/window-managers/lemonbar/default.nix37
1 files changed, 16 insertions, 21 deletions
diff --git a/pkgs/applications/window-managers/lemonbar/default.nix b/pkgs/applications/window-managers/lemonbar/default.nix
index 042abf09dad..27cb564d2c6 100644
--- a/pkgs/applications/window-managers/lemonbar/default.nix
+++ b/pkgs/applications/window-managers/lemonbar/default.nix
@@ -1,27 +1,22 @@
-{ stdenv, fetchFromGitHub, perl, libxcb }:
+{ stdenv, fetchurl, perl, libxcb }:
 
-let
-  version = "1.2pre";
-in
-  stdenv.mkDerivation rec {
-    name = "lemonbar-${version}";
+stdenv.mkDerivation rec {
+  name = "lemonbar-1.2";
   
-    src = fetchFromGitHub {
-      owner = "LemonBoy";
-      repo = "bar";
-      rev = "61985278f2af1e4e85d63a696ffedc5616b06bc0";
-      sha256 = "0a8djlayimjdg5fj50lpifsv6gkb577bca68wmk9wg9y9n27pgay";
-    };
+  src = fetchurl {
+    url    = "https://github.com/LemonBoy/bar/archive/v1.2.tar.gz";
+    sha256 = "1smz8lh930bnb6a4lrm07l3z2k071kc8p2pljk5wsrch3x2xhimq";
+  };
   
-    buildInputs = [ libxcb perl ];
+  buildInputs = [ libxcb perl ];
   
-    prePatch = ''sed -i "s@/usr@$out@" Makefile'';
+  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;
-    };
+  meta = with stdenv.lib; {
+    description = "A lightweight xcb based bar";
+    homepage = https://github.com/LemonBoy/bar;
+    maintainers = [ maintainers.meisternu ];
+    license = "Custom";   
+    platforms = platforms.linux;
+  };
 }