nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 529e1868655ed8d8ec2bdb5e3f3a75802375917f
parent 7bd89d6cf934f7a8a177ba5de032d1d52684abf1
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 19 Mar 2023 20:13:57 +0400

Up

Diffstat:
Mpkgs/darwin/cudatext/bin.nix | 18++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/pkgs/darwin/cudatext/bin.nix b/pkgs/darwin/cudatext/bin.nix @@ -2,12 +2,18 @@ stdenv.mkDerivation (finalAttrs: { pname = "cudatext-bin"; - version = "1.184.0.0"; + version = "1.187.1.0"; - src = fetchurl { - url = "mirror://sourceforge/cudatext/cudatext-macos-cocoa-amd64-${finalAttrs.version}.dmg"; - hash = "sha256-OUoqsc1kRLMe0dHkcwIKEwhxTX8fHzGBaND3PA5dqGM="; - }; + src = { + "aarch64-darwin" = fetchurl { + url = "mirror://sourceforge/cudatext/cudatext-macos-cocoa-aarch64-${finalAttrs.version}.dmg"; + hash = "sha256-xJUOsp7AUKIXQ2L8ccAnZHcvIszT/NqV7TOOzzdlJkk="; + }; + "x86_64-darwin" = fetchurl { + url = "mirror://sourceforge/cudatext/cudatext-macos-cocoa-amd64-${finalAttrs.version}.dmg"; + hash = "sha256-FEhWBxbAoMvxgwW29dUzMnCBfJWUJaGxJZxI45JwJvs="; + }; + }.${stdenv.hostPlatform.system}; nativeBuildInputs = [ undmg ]; @@ -20,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { inherit (cudatext.meta) description homepage changelog license; - platforms = [ "x86_64-darwin" ]; + platforms = [ "aarch64-darwin" "x86_64-darwin" ]; maintainers = [ maintainers.sikmir ]; skip.ci = true; };