Merge pull request #38059 from msiedlarek/master
gpu-switch: init at 2017-04-28
This commit is contained in:
commit
9191670c9e
|
@ -2500,6 +2500,11 @@
|
||||||
github = "mschristiansen";
|
github = "mschristiansen";
|
||||||
name = "Mikkel Christiansen";
|
name = "Mikkel Christiansen";
|
||||||
};
|
};
|
||||||
|
msiedlarek = {
|
||||||
|
email = "mikolaj@siedlarek.pl";
|
||||||
|
github = "msiedlarek";
|
||||||
|
name = "Mikołaj Siedlarek";
|
||||||
|
};
|
||||||
mstarzyk = {
|
mstarzyk = {
|
||||||
email = "mstarzyk@gmail.com";
|
email = "mstarzyk@gmail.com";
|
||||||
github = "mstarzyk";
|
github = "mstarzyk";
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "gpu-switch-unstable-${version}";
|
||||||
|
version = "2017-04-28";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "0xbb";
|
||||||
|
repo = "gpu-switch";
|
||||||
|
rev = "a365f56d435c8ef84c4dd2ab935ede4992359e31";
|
||||||
|
sha256 = "1jnh43nijkqd83h7piq7225ixziggyzaalabgissyxdyz6szcn0r";
|
||||||
|
};
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp gpu-switch $out/bin/
|
||||||
|
'';
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Application that allows to switch between the graphic cards of dual-GPU MacBook Pro models";
|
||||||
|
homepage = https://github.com/0xbb/gpu-switch;
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.msiedlarek ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -13174,6 +13174,8 @@ with pkgs;
|
||||||
|
|
||||||
gpm-ncurses = gpm.override { inherit ncurses; };
|
gpm-ncurses = gpm.override { inherit ncurses; };
|
||||||
|
|
||||||
|
gpu-switch = callPackage ../os-specific/linux/gpu-switch { };
|
||||||
|
|
||||||
gradm = callPackage ../os-specific/linux/gradm {
|
gradm = callPackage ../os-specific/linux/gradm {
|
||||||
flex = flex_2_5_35;
|
flex = flex_2_5_35;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue