Merge pull request #196357 from Enzime/shortcat
This commit is contained in:
commit
21fa5a05ef
2 changed files with 31 additions and 0 deletions
29
pkgs/os-specific/darwin/shortcat/default.nix
Normal file
29
pkgs/os-specific/darwin/shortcat/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -25569,6 +25569,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";
|
||||
|
|
Loading…
Reference in a new issue