2021-01-11 07:54:33 +00:00
|
|
|
{lib, stdenv, fetchurl }:
|
2018-10-27 16:15:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "goku";
|
2021-02-10 14:37:33 +00:00
|
|
|
version = "0.3.6";
|
2018-10-27 16:15:36 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/yqrashawn/GokuRakuJoudo/releases/download/v${version}/goku.tar.gz";
|
2021-02-10 14:37:33 +00:00
|
|
|
sha256 = "1pss1k2slbqzpfynik50pdk4jsaiag4abhmr6kadmaaj18mfz7ai";
|
2018-10-27 16:15:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-02-10 14:37:33 +00:00
|
|
|
chmod +x goku
|
|
|
|
chmod +x gokuw
|
2018-10-27 16:15:36 +01:00
|
|
|
mkdir -p $out/bin
|
|
|
|
cp goku $out/bin
|
|
|
|
cp gokuw $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-27 16:15:36 +01:00
|
|
|
description = "Karabiner configurator";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/yqrashawn/GokuRakuJoudo";
|
2018-10-27 16:15:36 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.nikitavoloboev ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|