1 { stdenv, lib, fetchFromGitHub }:
4 pname = "gpu-switch-unstable";
5 version = "2017-04-28";
6 src = fetchFromGitHub {
9 rev = "a365f56d435c8ef84c4dd2ab935ede4992359e31";
10 sha256 = "1jnh43nijkqd83h7piq7225ixziggyzaalabgissyxdyz6szcn0r";
14 cp gpu-switch $out/bin/
17 description = "Application that allows to switch between the graphic cards of dual-GPU MacBook Pro models";
18 mainProgram = "gpu-switch";
19 homepage = "https://github.com/0xbb/gpu-switch";
20 license = licenses.mit;
21 platforms = platforms.linux;
22 maintainers = [ maintainers.msiedlarek ];