nixpkgs/pkgs/os-specific/linux/mba6x_bl/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

36 lines
807 B
Nix

{ fetchFromGitHub, kernel, stdenv }:
with stdenv.lib;
let pkgName = "mba6x_bl";
in
stdenv.mkDerivation rec {
name = "${pkgName}-${version}";
version = "2016-04-22";
src = fetchFromGitHub {
owner = "patjak";
repo = pkgName;
rev = "d05c125efe182376ddab30d486994ec00e144650";
sha256 = "15h90z3ijq4lv37nmx70xqggcvn21vr7mki2psk1jyj88in3j3xn";
};
enableParallelBuilding = true;
hardeningDisable = [ "pic" ];
makeFlags = [
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"INSTALL_MOD_PATH=$(out)"
];
meta = {
description = "MacBook Air 6,1 and 6,2 (mid 2013) backlight driver";
homepage = https://github.com/patjak/mba6x_bl;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.simonvandel ];
};
}