summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-10-27 14:17:27 +0200
committerGitHub <noreply@github.com>2022-10-27 14:17:27 +0200
commit21fa5a05ef05a042b2be298a9e601bdad5159145 (patch)
tree5b4c33d513189116906d51ab81be23535c587477 /pkgs/os-specific
parent948fd41c777c6c9eb061773ef9c394ee4d43546d (diff)
parent2c7ebf1fb995c7680ebb7379e4ca44ebff7b5df3 (diff)
downloadnixpkgs-21fa5a05ef05a042b2be298a9e601bdad5159145.tar
nixpkgs-21fa5a05ef05a042b2be298a9e601bdad5159145.tar.gz
nixpkgs-21fa5a05ef05a042b2be298a9e601bdad5159145.tar.bz2
nixpkgs-21fa5a05ef05a042b2be298a9e601bdad5159145.tar.lz
nixpkgs-21fa5a05ef05a042b2be298a9e601bdad5159145.tar.xz
nixpkgs-21fa5a05ef05a042b2be298a9e601bdad5159145.tar.zst
nixpkgs-21fa5a05ef05a042b2be298a9e601bdad5159145.zip
Merge pull request #196357 from Enzime/shortcat
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/darwin/shortcat/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/os-specific/darwin/shortcat/default.nix b/pkgs/os-specific/darwin/shortcat/default.nix
new file mode 100644
index 00000000000..dcf32a4fd9e
--- /dev/null
+++ b/pkgs/os-specific/darwin/shortcat/default.nix
@@ -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;
+  };
+}