2015-05-10 19:57:15 +02:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "kbdlight";
|
2015-05-10 19:57:15 +02:00
|
|
|
version = "1.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hobarrera";
|
|
|
|
repo = "kbdlight";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1f08aid1xrbl4sb5447gkip9lnvkia1c4ap0v8zih5s9w8v72bny";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace Makefile \
|
2017-06-28 21:21:29 +02:00
|
|
|
--replace /usr/local $out \
|
|
|
|
--replace 4755 0755
|
2015-05-10 19:57:15 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/hobarrera/kbdlight";
|
2015-05-10 19:57:15 +02:00
|
|
|
description = "A very simple application that changes MacBooks' keyboard backlight level";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|