My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/os-specific/darwin/goku/default.nix

29 lines
693 B

{lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "goku";
version = "0.5.1";
src = fetchurl {
url = "https://github.com/yqrashawn/GokuRakuJoudo/releases/download/v${version}/goku.tar.gz";
sha256 = "7c9304a5b4265575ca154bc0ebc04fcf812d14981775966092946cf82f65c782";
};
sourceRoot = ".";
installPhase = ''
chmod +x goku
chmod +x gokuw
mkdir -p $out/bin
cp goku $out/bin
cp gokuw $out/bin
'';
meta = with lib; {
description = "Karabiner configurator";
homepage = "https://github.com/yqrashawn/GokuRakuJoudo";
license = licenses.gpl3;
maintainers = [ maintainers.nikitavoloboev ];
platforms = platforms.darwin;
};
}