flashspace: init at 2.3.29 (#382081)

authored by

Marcus Ramberg and committed by
GitHub
af28390a 8ad26907

+42
+42
pkgs/by-name/fl/flashspace/package.nix
··· 1 + { 2 + fetchzip, 3 + gitUpdater, 4 + lib, 5 + stdenv, 6 + nix-update-script, 7 + }: 8 + 9 + let 10 + version = "2.3.29"; 11 + in 12 + stdenv.mkDerivation { 13 + pname = "flashspace"; 14 + 15 + inherit version; 16 + 17 + src = fetchzip { 18 + url = "https://github.com/wojciech-kulik/FlashSpace/releases/download/v${version}/FlashSpace.app.zip"; 19 + hash = "sha256-aBqlxIPPhx5GwNowf172Ko10g8RXnN7nIJaD3Zh4TPg="; 20 + }; 21 + 22 + installPhase = '' 23 + runHook preInstall 24 + mkdir -p $out/Applications/FlashSpace.app $out/bin 25 + mv Contents $out/Applications/FlashSpace.app 26 + ln -s ../Applications/Flashspace.app/Contents/Resources/flashspace $out/bin/flashspace 27 + runHook postInstall 28 + ''; 29 + 30 + doInstallCheck = true; 31 + 32 + passthru.updateScript = nix-update-script { }; 33 + meta = { 34 + license = lib.licenses.mit; 35 + homepage = "https://github.com/wojciech-kulik/FlashSpace"; 36 + changelog = "https://github.com/wojciech-kulik/FlashSpace/releases/tag/v${version}"; 37 + description = "Blazingly fast virtual workspace manager for macOS"; 38 + platforms = lib.platforms.darwin; 39 + maintainers = [ lib.maintainers.marcusramberg ]; 40 + sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; 41 + }; 42 + }