Files
nixpkgs/pkgs/by-name/ta/tattoy/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

64 lines
1.1 KiB
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
libxcb,
dbus,
bash,
procps,
nano,
watch,
}:
rustPlatform.buildRustPackage (attrs: {
pname = "tattoy";
version = "0.1.8";
src = fetchFromGitHub {
owner = "tattoy-org";
repo = "tattoy";
tag = "tattoy-v${attrs.version}";
hash = "sha256-44rXygZVbwwC/jOB69iHydsjYr/WeVU4Eky3BPqJzyc=";
};
cargoHash = "sha256-DJyml8J9XXKD2t1dQz+OrVDFcq6PLMoDlhiLo86D3CM=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
dbus
libxcb
];
nativeCheckInputs = [
bash
nano
procps
watch
];
checkFlags = [
# e2e tests currently fail
# see https://github.com/tattoy-org/tattoy/pull/104/files for discussion
# re-enable after PR merged
"--skip e2e"
"--skip gpu"
];
useNextest = true;
meta = {
description = "Text-based compositor for modern terminals";
homepage = "https://github.com/tattoy-org/tattoy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
DieracDelta
];
mainProgram = "tattoy";
platforms = lib.platforms.unix;
};
})