Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
59 lines
1.2 KiB
Nix
59 lines
1.2 KiB
Nix
{
|
|
_experimental-update-script-combinators,
|
|
callPackage,
|
|
fetchFromSourcehut,
|
|
unstableGitUpdater,
|
|
lib,
|
|
pkg-config,
|
|
stdenv,
|
|
river-classic,
|
|
wayland,
|
|
wayland-protocols,
|
|
wayland-scanner,
|
|
zig_0_14,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "river-bedload";
|
|
version = "0.1.1-unstable-2025-03-19";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~novakane";
|
|
repo = "river-bedload";
|
|
rev = "4a2855ca2669372c346975dd6e1f612ca563b131";
|
|
hash = "sha256-CQH2LQi2ga4YDD2ZYb998ExDJHK4TGHq5h3z94703Dc=";
|
|
};
|
|
|
|
deps = callPackage ./build.zig.zon.nix { };
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
zig_0_14.hook
|
|
];
|
|
|
|
buildInputs = [
|
|
wayland
|
|
wayland-protocols
|
|
wayland-scanner
|
|
];
|
|
|
|
zigBuildFlags = [
|
|
"--system"
|
|
"${finalAttrs.deps}"
|
|
];
|
|
|
|
passthru.updateScript = _experimental-update-script-combinators.sequence [
|
|
(unstableGitUpdater { tagPrefix = "v"; })
|
|
./update-build-zig-zon.sh
|
|
];
|
|
|
|
meta = {
|
|
description = "Display information about river in json in the STDOUT";
|
|
homepage = "https://git.sr.ht/~novakane/river-bedload";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ adamcstephens ];
|
|
mainProgram = "river-bedload";
|
|
inherit (river-classic.meta) platforms;
|
|
};
|
|
})
|