refactor(repo): change a bunch of everything

This commit is contained in:
Artur Manuel 2025-02-17 04:40:13 +00:00
commit 81bee82c34
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
26 changed files with 352 additions and 127 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=";
};
}
]

View file

@ -0,0 +1,39 @@
{
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
];
})