mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #249290 from Enzime/add/apparency
apparency: init at 1.5.1
This commit is contained in:
commit
8737f92137
39
pkgs/os-specific/darwin/apparency/default.nix
Normal file
39
pkgs/os-specific/darwin/apparency/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, fetchurl
|
||||
, stdenv
|
||||
, undmg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "apparency";
|
||||
version = "1.5.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://web.archive.org/web/20230815073821/https://www.mothersruin.com/software/downloads/Apparency.dmg";
|
||||
hash = "sha256-JpaBdlt8kTNFzK/yZVZ+ZFJ3DnPQbogJC7QBmtSVkoQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
|
||||
sourceRoot = "Apparency.app";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/Applications/Apparency.app $out/bin
|
||||
cp -R . $out/Applications/Apparency.app
|
||||
ln -s ../Applications/Apparency.app/Contents/MacOS/appy $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "The App That Opens Apps";
|
||||
homepage = "https://www.mothersruin.com/software/Apparency/";
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
maintainers = with lib.maintainers; [ Enzime ];
|
||||
mainProgram = "appy";
|
||||
platforms = lib.platforms.darwin;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
}
|
@ -27472,6 +27472,8 @@ with pkgs;
|
||||
alsa-ucm-conf
|
||||
alsa-utils;
|
||||
|
||||
apparency = callPackage ../os-specific/darwin/apparency { };
|
||||
|
||||
arm-trusted-firmware = callPackage ../misc/arm-trusted-firmware { };
|
||||
inherit (arm-trusted-firmware)
|
||||
buildArmTrustedFirmware
|
||||
|
Loading…
Reference in New Issue
Block a user