lol

Merge pull request #227061 from wegank/rectangle-bump

rectangle: 0.67 -> 0.68

authored by

Weijia Wang and committed by
GitHub
dbe369f0 066034f8

+21 -7
+21 -7
pkgs/os-specific/darwin/rectangle/default.nix
··· 1 - { lib, stdenv, fetchurl, cpio, xar, undmg, ... }: 1 + { lib 2 + , stdenvNoCC 3 + , fetchurl 4 + , undmg 5 + , gitUpdater 6 + }: 2 7 3 - stdenv.mkDerivation rec { 8 + stdenvNoCC.mkDerivation rec { 4 9 pname = "rectangle"; 5 - version = "0.67"; 10 + version = "0.68"; 6 11 7 12 src = fetchurl { 8 13 url = "https://github.com/rxhanson/Rectangle/releases/download/v${version}/Rectangle${version}.dmg"; 9 - hash = "sha256-tvxGDfpHu86tZt7M055ehEG/lDdmdPmZwrDc2F/yUjk="; 14 + hash = "sha256-N1zSMmRo6ux/b16K4Og68A5bfht2WWi7S40Yys3QkTY="; 10 15 }; 11 16 12 - sourceRoot = "Rectangle.app"; 17 + sourceRoot = "."; 13 18 14 19 nativeBuildInputs = [ undmg ]; 15 20 16 21 installPhase = '' 17 - mkdir -p $out/Applications/Rectangle.app 18 - cp -R . $out/Applications/Rectangle.app 22 + runHook preInstall 23 + 24 + mkdir -p $out/Applications 25 + mv Rectangle.app $out/Applications 26 + 27 + runHook postInstall 19 28 ''; 29 + 30 + passthru.updateScript = gitUpdater { 31 + url = "https://github.com/rxhanson/Rectangle"; 32 + rev-prefix = "v"; 33 + }; 20 34 21 35 meta = with lib; { 22 36 description = "Move and resize windows in macOS using keyboard shortcuts or snap areas";