From 7626674ae0a298451591bf73f79b28011cad892f Mon Sep 17 00:00:00 2001
From: Nikolay Amiantov <ab@fmap.me>
Date: Mon, 6 Apr 2015 02:56:53 +0300
Subject: [PATCH] bbswitch: maintain, fix (transient?) hash failure

---
 pkgs/os-specific/linux/bbswitch/default.nix | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/pkgs/os-specific/linux/bbswitch/default.nix b/pkgs/os-specific/linux/bbswitch/default.nix
index 5504fa660be..ec1e5f2e20b 100644
--- a/pkgs/os-specific/linux/bbswitch/default.nix
+++ b/pkgs/os-specific/linux/bbswitch/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
 
   patches = [ (fetchpatch {
     url = "https://github.com/Bumblebee-Project/bbswitch/pull/102.patch";
-    sha256 = "0agq7w28pdarq18qxc9917mamyb2sq8hxl3pzc0v210h60vmx2pm";
+    sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m";
   }) ];
 
   preBuild = ''
@@ -44,8 +44,10 @@ stdenv.mkDerivation {
     chmod +x $out/bin/discrete_vga_poweroff $out/bin/discrete_vga_poweron
   '';
 
-  meta = {
-    platforms = stdenv.lib.platforms.linux;
+  meta = with stdenv.lib; {
     description = "A module for powering off hybrid GPUs";
+    platforms = platforms.linux;
+    homepage = https://github.com/Bumblebee-Project/bbswitch;
+    maintainers = with maintainers; [ abbradar ];
   };
 }