Files
nixpkgs/pkgs/by-name/bo/bork/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

48 lines
953 B
Nix

{
callPackage,
curl,
fetchFromGitHub,
lib,
stdenvNoCC,
zig_0_14,
}:
let
zig = zig_0_14;
in
stdenvNoCC.mkDerivation {
name = "bork";
version = "0.4.0-unstable-2025-04-18";
src = fetchFromGitHub {
owner = "kristoff-it";
repo = "bork";
rev = "ae7c7a82fc717d31dd9240300e5ca84f069dc453";
hash = "sha256-HAW5/FXgAwD+N48H+K2salN7o125i012GB1kB4CnXgQ=";
};
nativeBuildInputs = [
zig.hook
];
buildInputs = [
curl
];
zigBuildFlags = [ "--release=fast" ];
postPatch = ''
ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
'';
meta = {
description = "TUI chat client tailored for livecoding on Twitch";
homepage = "https://github.com/kristoff-it/bork";
changelog = "https://github.com/kristoff-it/bork/releases";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jonhermansen ];
platforms = lib.platforms.unix;
mainProgram = "bork";
};
}