Merge pull request #196357 from Enzime/shortcat

authored by Sandro and committed by GitHub 21fa5a05 948fd41c

+31
+29
pkgs/os-specific/darwin/shortcat/default.nix
··· 1 + { lib, stdenv, fetchurl, unzip, ... }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "shortcat"; 5 + version = "0.11.0"; 6 + 7 + src = fetchurl { 8 + url = "https://files.shortcat.app/releases/v${version}/Shortcat.zip"; 9 + sha256 = "sha256-P8NQy9odWOD8wRHBTmaNH7OCXXvgQsMiI169KfsAABU="; 10 + }; 11 + 12 + sourceRoot = "Shortcat.app"; 13 + 14 + nativeBuildInputs = [ unzip ]; 15 + 16 + installPhase = '' 17 + mkdir -p $out/Applications/Shortcat.app 18 + cp -R . $out/Applications/Shortcat.app 19 + ''; 20 + 21 + meta = with lib; { 22 + description = "Manipulate macOS masterfully, minus the mouse"; 23 + homepage = "https://shortcat.app/"; 24 + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 25 + platforms = platforms.darwin; 26 + maintainers = with maintainers; [ Enzime ]; 27 + license = licenses.unfreeRedistributable; 28 + }; 29 + }
+2
pkgs/top-level/all-packages.nix
··· 25569 25569 25570 25570 shadow = callPackage ../os-specific/linux/shadow { }; 25571 25571 25572 + shortcat = callPackage ../os-specific/darwin/shortcat { }; 25573 + 25572 25574 sinit = callPackage ../os-specific/linux/sinit { 25573 25575 rcinit = "/etc/rc.d/rc.init"; 25574 25576 rcshutdown = "/etc/rc.d/rc.shutdown";