rivercarro: 0.4.0 -> 0.6.0-unstable-2025-03-19 (#433538)

This commit is contained in:
Wolfgang Walther 2025-08-15 16:37:10 +00:00 committed by GitHub
commit 3c5b611ee8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 10 deletions

View File

@ -1,13 +1,17 @@
# generated by zon2nix (https://github.com/nix-community/zon2nix)
{ linkFarm, fetchzip }:
{
linkFarm,
fetchzip,
fetchgit,
}:
linkFarm "zig-packages" [
{
name = "1220b0f8f822c1625af7aae4cb3ab2c4ec1a4c0e99ef32867b2a8d88bb070b3e7f6d";
name = "wayland-0.3.0-lQa1kjPIAQDmhGYpY-zxiRzQJFHQ2VqhJkQLbKKdt5wl";
path = fetchzip {
url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.1.0.tar.gz";
hash = "sha256-VLEx8nRgmJZWgLNBRqrR7bZEkW0m5HTRv984HKwoIfA=";
url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.3.0.tar.gz";
hash = "sha256-ydEavD9z20wRwn9ZVX56ZI2T5i1tnm3LupVxfa30o84=";
};
}
]

View File

@ -8,19 +8,22 @@
wayland,
wayland-protocols,
wayland-scanner,
zig_0_12,
zig_0_14,
}:
let
zig = zig_0_14;
in
stdenv.mkDerivation (finalAttrs: {
pname = "rivercarro";
version = "0.4.0";
version = "0.6.0-unstable-2025-03-19";
src = fetchFromSourcehut {
owner = "~novakane";
repo = "rivercarro";
rev = "v${finalAttrs.version}";
rev = "199800235645a1771e2551a64d5b4f5e2601888c";
fetchSubmodules = true;
hash = "sha256-nDKPv/roweW7ynEROsipUJPvs6VMmz3E4JzEFRBzE6s=";
hash = "sha256-im26hiRi24tLCSvLnIdcnIWml5kTs7YSCAC8o9mcR+M=";
};
nativeBuildInputs = [
@ -29,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
wayland
wayland-protocols
wayland-scanner
zig_0_12.hook
zig.hook
];
postPatch = ''
@ -52,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://git.sr.ht/~novakane/rivercarro/refs/v${finalAttrs.version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ kraem ];
inherit (zig_0_12.meta) platforms;
inherit (zig.meta) platforms;
mainProgram = "rivercarro";
};
})