meta(repo): init repo

This commit is contained in:
Artur Manuel 2025-02-10 20:28:46 +00:00
commit 394c328738
13 changed files with 649 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# generated by zon2nix (https://github.com/nix-community/zon2nix)
{
linkFarm,
fetchzip,
}:
linkFarm "zig-packages" [
{
name = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242";
path = fetchzip {
url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz";
hash = "sha256-dvit+yvc0MnipqWjxJdfIsA6fJaJZOaIpx4w4woCxbE=";
};
}
]

38
river-bedload/default.nix Normal file
View file

@ -0,0 +1,38 @@
{
stdenv,
fetchgit,
zig_0_13,
callPackage,
wayland-scanner,
wayland-protocols,
wayland,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "river-bedload";
version = "0.1.1";
src = fetchgit {
url = "https://git.sr.ht/~novakane/${finalAttrs.pname}";
rev = "v${finalAttrs.version}";
hash = "sha256-AMxFdKVy4E1xVdimqxm8KZW39krk/Mt27MWLxEiq1JA=";
};
deps = callPackage ./build.zig.zon.nix {};
zigBuildFlags = [
"--system"
"${finalAttrs.deps}"
];
nativeBuildInputs = [
zig_0_13.hook
pkg-config
wayland-scanner
];
buildInputs = [
wayland
wayland-protocols
];
})