about summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/rectangle/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/darwin/rectangle/default.nix')
-rw-r--r--pkgs/os-specific/darwin/rectangle/default.nix44
1 files changed, 0 insertions, 44 deletions
diff --git a/pkgs/os-specific/darwin/rectangle/default.nix b/pkgs/os-specific/darwin/rectangle/default.nix
deleted file mode 100644
index 1e7be272d6ab9..0000000000000
--- a/pkgs/os-specific/darwin/rectangle/default.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{ lib
-, stdenvNoCC
-, fetchurl
-, undmg
-, gitUpdater
-}:
-
-stdenvNoCC.mkDerivation rec {
-  pname = "rectangle";
-  version = "0.80";
-
-  src = fetchurl {
-    url = "https://github.com/rxhanson/Rectangle/releases/download/v${version}/Rectangle${version}.dmg";
-    hash = "sha256-CmYhMnEhn3UK82RXuT1KQhAoK/0ewcUU6h73el2Lpw8=";
-  };
-
-  sourceRoot = ".";
-
-  nativeBuildInputs = [ undmg ];
-
-  installPhase = ''
-    runHook preInstall
-
-    mkdir -p $out/Applications
-    mv Rectangle.app $out/Applications
-
-    runHook postInstall
-  '';
-
-  passthru.updateScript = gitUpdater {
-    url = "https://github.com/rxhanson/Rectangle";
-    rev-prefix = "v";
-  };
-
-  meta = with lib; {
-    description = "Move and resize windows in macOS using keyboard shortcuts or snap areas";
-    homepage = "https://rectangleapp.com/";
-    sourceProvenance = with sourceTypes; [ binaryNativeCode ];
-    platforms = platforms.darwin;
-    maintainers = with maintainers; [ Enzime Intuinewin wegank ];
-    license = licenses.mit;
-  };
-}
-