···3let
4 pname = "anki-bin";
5 # Update hashes for both Linux and Darwin!
6- version = "2.1.54";
78 sources = {
9 linux = fetchurl {
10 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst";
11- sha256 = "sha256-NFhgVd4ctEsh7iaSZ9v0OMszd81H41eq+y+FRIhcCtE=";
12 };
1314 # For some reason anki distributes completely separate dmg-files for the aarch64 version and the x86_64 version
15 darwin-x86_64 = fetchurl {
16 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-intel-qt6.dmg";
17- sha256 = "sha256-kus59Z9Oe4sbAlF4szeg751hlSEUR0ijKz4rjfHEWgA=";
18 };
19 darwin-aarch64 = fetchurl {
20 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-apple-qt6.dmg";
21- sha256 = "sha256-ROIpGB3W21ttWj+cRkf0rpLFrO4LR6+ZyGRsalz5J+E=";
22 };
23 };
24
···3let
4 pname = "anki-bin";
5 # Update hashes for both Linux and Darwin!
6+ version = "2.1.55";
78 sources = {
9 linux = fetchurl {
10 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst";
11+ sha256 = "sha256-fi7efWBZZnqOEztVOhOsfspcTBDxqw2Rr/eAGMFYbAU=";
12 };
1314 # For some reason anki distributes completely separate dmg-files for the aarch64 version and the x86_64 version
15 darwin-x86_64 = fetchurl {
16 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-intel-qt6.dmg";
17+ sha256 = "sha256-+Ceo03bMNnDQWgDmF1MIlrTQyHaJUKG8gF1/+ZEFCYw=";
18 };
19 darwin-aarch64 = fetchurl {
20 url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-apple-qt6.dmg";
21+ sha256 = "sha256-3ppE+APPUJ6H/ud67KNwfQJnFCa7g7Hdxx4oZD0ip6E=";
22 };
23 };
24
+5-7
pkgs/os-specific/linux/nvidia-x11/default.nix
···13 kernel = callPackage # a hacky way of extracting parameters from callPackage
14 ({ kernel, libsOnly ? false }: if libsOnly then { } else kernel) { };
1516- kernelModVersion = lib.versions.majorMinor kernel.modDirVersion;
17-18 selectHighestVersion = a: b: if lib.versionOlder a.version b.version
19 then b
20 else a;
···27 stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest;
2829 production = generic {
30- version = "525.60.11";
31- sha256_64bit = "sha256-gW7mwuCBPMw9SnlY9x/EmjfGDv4dUdYUbBznJAOYPV0=";
32- openSha256 = "sha256-33ATZuYu+SOOxM6UKXp6J+f1+zbmHvaK4v13X3UZTTM=";
33- settingsSha256 = "sha256-gA1x6oEpnkr/OPP4eR1L5gC5srvEKtDrSpnv2QEaEpE=";
34- persistencedSha256 = "sha256-AFMy3agoJ6yVsGgUvTfOzHlz30iApBpAReckq9iS7AA=";
35 };
3637 latest = selectHighestVersion production (generic {
···13 kernel = callPackage # a hacky way of extracting parameters from callPackage
14 ({ kernel, libsOnly ? false }: if libsOnly then { } else kernel) { };
150016 selectHighestVersion = a: b: if lib.versionOlder a.version b.version
17 then b
18 else a;
···25 stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest;
2627 production = generic {
28+ version = "525.78.01";
29+ sha256_64bit = "sha256-Q9pC0r9pvDfqnHwPoC9S2w3MSDwnL1LtrK2JpctJWpM=";
30+ openSha256 = "sha256-fxpyXVl735ZJ3NnK7jN95gPstu7YopYH/K7UK0iAC7k=";
31+ settingsSha256 = "sha256-1d3Cn+7Gm1ORQxmTKr18GFmYHVb8t050XVLler1dCtw=";
32+ persistencedSha256 = "sha256-t6dViuvA2fw28w4kh4koIoxh9pQ8f7KI1PIUFJcGlYA=";
33 };
3435 latest = selectHighestVersion production (generic {
+10-7
pkgs/tools/archivers/gbl/default.nix
···22 };
2324 cargoPatches = [
00000025 # Upstream does not include Cargo.lock, even though this is recommended for applications.
26- # This patch adds it. https://github.com/dac-gmbh/gbl/pull/62
27 (fetchpatch {
28- url = "https://github.com/raboof/gbl/commit/99078da334c6e1ffd8189c691bbc711281fae5cc.patch";
29- sha256 = "sha256-sAKkn4//8P87ZJ6NTHm2NUJH1sAFFwfrybv2QtQ3nnM=";
30 })
31 ];
3233- cargoSha256 = "sha256-RUZ6wswRtV8chq3+bY9LTRf6IYMbZ9/GPl2X5UcF7d8=";
3435 nativeBuildInputs = [ pkg-config ];
36 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
···44 Utility to read, create and manipulate `.gbl` firmware update
45 files targeting the Silicon Labs Gecko Bootloader.
46 '';
47- homepage = "https://github.com/dac-gmbh/gbl";
48 license = licenses.mit;
49 maintainers = [ maintainers.raboof ];
50- # never built on aarch64-darwin since first introduction in nixpkgs
51- broken = stdenv.isDarwin && stdenv.isAarch64;
52 };
53}
···22 };
2324 cargoPatches = [
25+ # update ring to fix building on Mac M1
26+ # https://github.com/dac-gmbh/gbl/pull/64
27+ (fetchpatch {
28+ url = "https://github.com/raboof/gbl/commit/17e154d66932af59abe8677309792606b7f64c7d.patch";
29+ sha256 = "sha256-5Itoi86Q+9FzSTtnggODKPwwYPp5BpIVgR2vYMLHBts=";
30+ })
31 # Upstream does not include Cargo.lock, even though this is recommended for applications.
032 (fetchpatch {
33+ url = "https://github.com/raboof/gbl/commit/9423d36ee3168bca8db7a7cb65611dc7ddc2daf0.patch";
34+ sha256 = "sha256-zwHXgUVkAYiQs/AT/pINnZoECoXzh+9astWMYENGTL8=";
35 })
36 ];
3738+ cargoSha256 = "sha256-CeGLSseKUe2XudRqZm5Y7o7ZLDtDBg/MFunOGqxFZGM=";
3940 nativeBuildInputs = [ pkg-config ];
41 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
···49 Utility to read, create and manipulate `.gbl` firmware update
50 files targeting the Silicon Labs Gecko Bootloader.
51 '';
52+ homepage = "https://github.com/jonas-schievink/gbl";
53 license = licenses.mit;
54 maintainers = [ maintainers.raboof ];
0055 };
56}
+2-2
pkgs/tools/misc/yt-dlp/default.nix
···20 # The websites yt-dlp deals with are a very moving target. That means that
21 # downloads break constantly. Because of that, updates should always be backported
22 # to the latest stable release.
23- version = "2023.1.2";
2425 src = fetchPypi {
26 inherit pname version;
27- sha256 = "sha256-uNe7tcFZX3GIVaMfNNigJ2pwhvXT9ULAIaje2LJtNq4=";
28 };
2930 propagatedBuildInputs = [ brotli certifi mutagen pycryptodomex websockets ];
···20 # The websites yt-dlp deals with are a very moving target. That means that
21 # downloads break constantly. Because of that, updates should always be backported
22 # to the latest stable release.
23+ version = "2023.1.6";
2425 src = fetchPypi {
26 inherit pname version;
27+ sha256 = "sha256-Ong6NnUc7RY2j0CzuoZas5swaJ7YBW8e4jRqo4OaCw8=";
28 };
2930 propagatedBuildInputs = [ brotli certifi mutagen pycryptodomex websockets ];