uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
23
pkgs/os-specific/linux/gpu-switch/default.nix
Normal file
23
pkgs/os-specific/linux/gpu-switch/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, lib, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "gpu-switch-unstable";
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue