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