Files
nixpkgs/pkgs/by-name/cr/creek/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

62 lines
1.1 KiB
Nix

{
callPackage,
lib,
zig_0_14,
stdenv,
fetchFromGitHub,
fcft,
pixman,
pkg-config,
wayland,
wayland-scanner,
wayland-protocols,
}:
let
zig = zig_0_14;
in
stdenv.mkDerivation (finalAttrs: {
pname = "creek";
version = "0.4.3";
src = fetchFromGitHub {
owner = "nmeum";
repo = "creek";
tag = "v${finalAttrs.version}";
hash = "sha256-5TANQt/VWafm6Lj4dYViiK0IMy/chGr/Gzq0S66HZqI=";
};
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
zig.hook
pkg-config
wayland-scanner
];
buildInputs = [
fcft
pixman
wayland
wayland-protocols
];
deps = callPackage ./build.zig.zon.nix { };
zigBuildFlags = [
"--system"
"${finalAttrs.deps}"
];
passthru.updateScript = ./update.sh;
meta = {
homepage = "https://github.com/nmeum/creek";
changelog = "https://github.com/nmeum/creek/releases/v${finalAttrs.version}";
description = "Malleable and minimalist status bar for the River compositor";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ alexandrutocar ];
mainProgram = "creek";
platforms = lib.platforms.linux;
};
})