shortcat: init at 0.11.0

This commit is contained in:
Michael Hoang 2022-10-17 16:25:49 +11:00
parent ec9efdb88d
commit 2c7ebf1fb9
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchurl, unzip, ... }:
stdenv.mkDerivation rec {
pname = "shortcat";
version = "0.11.0";
src = fetchurl {
url = "https://files.shortcat.app/releases/v${version}/Shortcat.zip";
sha256 = "sha256-P8NQy9odWOD8wRHBTmaNH7OCXXvgQsMiI169KfsAABU=";
};
sourceRoot = "Shortcat.app";
nativeBuildInputs = [ unzip ];
installPhase = ''
mkdir -p $out/Applications/Shortcat.app
cp -R . $out/Applications/Shortcat.app
'';
meta = with lib; {
description = "Manipulate macOS masterfully, minus the mouse";
homepage = "https://shortcat.app/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
platforms = platforms.darwin;
maintainers = with maintainers; [ Enzime ];
license = licenses.unfreeRedistributable;
};
}

View file

@ -25417,6 +25417,8 @@ with pkgs;
shadow = callPackage ../os-specific/linux/shadow { };
shortcat = callPackage ../os-specific/darwin/shortcat { };
sinit = callPackage ../os-specific/linux/sinit {
rcinit = "/etc/rc.d/rc.init";
rcshutdown = "/etc/rc.d/rc.shutdown";