nur-packages

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

commit 7ab761abbf39f123cf88ec5b7b42dc4539243cae
parent 54b4a1e2529e401b5788ff6295c7820f56d0a647
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat, 27 Jan 2024 21:35:17 +0400

Up

Diffstat:
Mpkgs/darwin/cudatext/bin.nix | 14++++++++------
Mpkgs/darwin/darktable/bin.nix | 4++--
Mpkgs/darwin/podman-desktop/bin.nix | 9++++++---
3 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/pkgs/darwin/cudatext/bin.nix b/pkgs/darwin/cudatext/bin.nix @@ -1,24 +1,26 @@ -{ lib, stdenv, fetchurl, undmg, makeWrapper, cudatext }: +{ lib, stdenv, fetchurl, _7zz, makeWrapper, cudatext }: stdenv.mkDerivation (finalAttrs: { pname = "cudatext-bin"; - version = "1.195.0.5"; + version = "1.208.0.0"; src = { "aarch64-darwin" = fetchurl { url = "mirror://sourceforge/cudatext/cudatext-macos-cocoa-aarch64-${finalAttrs.version}.dmg"; - hash = "sha256-GMaqPnSEjzENcNpFi7YF5qENyk/sDEHCU/Xk/hYQtrQ="; + hash = "sha256-w7ypX5tYtAXaEaJgKXqhgH+ORw3yUSg0lOS3RG4lTbY="; }; "x86_64-darwin" = fetchurl { url = "mirror://sourceforge/cudatext/cudatext-macos-cocoa-amd64-${finalAttrs.version}.dmg"; - hash = "sha256-pNwpTACaK/tpA2bcZa0QyAndbT/r2aLomfynNibJcH4="; + hash = "sha256-PBYqfF73/tJ2eHfNWJ5LkjOmqkEQS+Fn/lh5ipNzajU="; }; }.${stdenv.hostPlatform.system}; - nativeBuildInputs = [ undmg makeWrapper ]; - sourceRoot = "."; + # APFS format is unsupported by undmg + nativeBuildInputs = [ _7zz makeWrapper ]; + unpackCmd = "7zz x $curSrc"; + installPhase = '' runHook preInstall diff --git a/pkgs/darwin/darktable/bin.nix b/pkgs/darwin/darktable/bin.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "darktable-bin"; - version = "4.4.2"; + version = "4.6.0"; src = fetchfromgh { owner = "darktable-org"; repo = "darktable"; name = "darktable-${finalAttrs.version}-x86_64.dmg"; - hash = "sha256-nrhOoEHarXBKjUIm2MfLp3Ui3NAD1xZpYYabHPqprJo="; + hash = "sha256-5OU8wexqWAACnzlyjAJIgqA1dFj1yNjg/xbf4DTnAe0="; version = "release-${finalAttrs.version}"; }; diff --git a/pkgs/darwin/podman-desktop/bin.nix b/pkgs/darwin/podman-desktop/bin.nix @@ -6,13 +6,13 @@ let "x86_64-darwin" = "x64"; }.${stdenv.hostPlatform.system}; hash = { - "aarch64-darwin" = "sha256-mOXI5L1rR050kqsYgpgxXuuGdTbeouYCdhF46YrhMX8="; - "x86_64-darwin" = "sha256-YcKfP/3alkaDfio8ng4bd7T7q+6HO6gXNxRMEm1kAcw="; + "aarch64-darwin" = "sha256-3+Lib7gWF03UrIKRcyzHw9aX79aebkCQscAPdKAf6z0="; + "x86_64-darwin" = "sha256-miIw5xsL6GSHC+sX3JNxktfwhY5tkLrLCNdHHUwdtdY="; }.${stdenv.hostPlatform.system}; in stdenv.mkDerivation (finalAttrs: { pname = "podman-desktop"; - version = "0.12.0"; + version = "1.7.0"; src = fetchfromgh { owner = "containers"; @@ -27,13 +27,16 @@ stdenv.mkDerivation (finalAttrs: { sourceRoot = "."; installPhase = '' + runHook preInstall mkdir -p $out/Applications cp -R *.app $out/Applications + runHook postInstall ''; meta = with lib; { description = "A graphical tool for developing on containers and Kubernetes"; homepage = "https://podman-desktop.io/"; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.asl20; platforms = [ "aarch64-darwin" "x86_64-darwin" ]; maintainers = [ maintainers.sikmir ];