nur-packages

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

commit c8f0f2af1a303ece9ae12bbee18018186bd9f127
parent 1f6d60113fb528330e039f707b7775332a24a428
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 10 Mar 2024 23:57:28 +0400

Up

Diffstat:
Mflake.lock | 6+++---
Mpkgs/darwin/cudatext/bin.nix | 16++++++++--------
Mpkgs/darwin/zed/default.nix | 4++--
3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1709780214, - "narHash": "sha256-p4iDKdveHMhfGAlpxmkCtfQO3WRzmlD11aIcThwPqhk=", + "lastModified": 1710066242, + "narHash": "sha256-bO7kahLdawW7rBqUTfWgf9mdPYrnOo5DGvWRJa9N8Do=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f945939fd679284d736112d3d5410eb867f3b31c", + "rev": "db339f1706f555794b71aa4eb26a5a240fb6a599", "type": "github" }, "original": { diff --git a/pkgs/darwin/cudatext/bin.nix b/pkgs/darwin/cudatext/bin.nix @@ -1,29 +1,29 @@ -{ lib, stdenv, fetchurl, _7zz, makeWrapper, cudatext }: +{ lib, stdenv, fetchurl, _7zz, unzip, makeWrapper, cudatext }: stdenv.mkDerivation (finalAttrs: { pname = "cudatext-bin"; - version = "1.208.0.0"; + version = "1.210.0.0"; src = { "aarch64-darwin" = fetchurl { - url = "mirror://sourceforge/cudatext/cudatext-macos-cocoa-aarch64-${finalAttrs.version}.dmg"; - hash = "sha256-w7ypX5tYtAXaEaJgKXqhgH+ORw3yUSg0lOS3RG4lTbY="; + url = "mirror://sourceforge/cudatext/cudatext-macos-cocoa-aarch64-${finalAttrs.version}.dmg.zip"; + hash = "sha256-w7ypX5tYtAXaEaJgKXqhgH2ORw3yUSg0lOS3RG4lTbY="; }; "x86_64-darwin" = fetchurl { - url = "mirror://sourceforge/cudatext/cudatext-macos-cocoa-amd64-${finalAttrs.version}.dmg"; - hash = "sha256-PBYqfF73/tJ2eHfNWJ5LkjOmqkEQS+Fn/lh5ipNzajU="; + url = "mirror://sourceforge/cudatext/cudatext-macos-cocoa-amd64-${finalAttrs.version}.dmg.zip"; + hash = "sha256-9JQx1btljQ4/ybtEoBKQI00KOh9xp+7BEvuMhL2gKcw="; }; }.${stdenv.hostPlatform.system}; sourceRoot = "."; # APFS format is unsupported by undmg - nativeBuildInputs = [ _7zz makeWrapper ]; - unpackCmd = "7zz x $curSrc"; + nativeBuildInputs = [ _7zz unzip makeWrapper ]; installPhase = '' runHook preInstall + 7zz x *.dmg mkdir -p $out/Applications mv *.app $out/Applications makeWrapper $out/{Applications/CudaText.app/Contents/MacOS,bin}/cudatext diff --git a/pkgs/darwin/zed/default.nix b/pkgs/darwin/zed/default.nix @@ -2,11 +2,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "zed"; - version = "0.124.8"; + version = "0.125.3"; src = fetchurl { url = "https://zed.dev/api/releases/stable/${finalAttrs.version}/Zed.dmg"; - hash = "sha256-y5OjO0JOHNV3c3Gu1ZiYAMDF+Yu4CZr4NzXBt/rf2Lc="; + hash = "sha256-AoCWQjdVWDuerIMS/MumNR5ociav7aFeJ4vROC+Uofs="; }; sourceRoot = ".";