Files
nixpkgs/pkgs/by-name/ta/tattoy/package.nix
quantenzitrone 44560ee9f7 various: make all uses of fixed point builders use finalAttrs as argument
some of these were just typos like `finalAttr`, `finalAtts` or `finaAttrs`
some of these were using `self`, `final`, `finalPackage`, `attrs` or `_`
some of these were wrong by using `oldAttrs` or `finalPackages`

other than the nixos manual this shouldn't create any rebuilds
2026-02-06 23:22:29 +01:00

70 lines
1.2 KiB
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
libxcb,
dbus,
bash,
procps,
nano,
watch,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "tattoy";
version = "0.1.8";
src = fetchFromGitHub {
owner = "tattoy-org";
repo = "tattoy";
tag = "tattoy-v${finalAttrs.version}";
hash = "sha256-44rXygZVbwwC/jOB69iHydsjYr/WeVU4Eky3BPqJzyc=";
};
cargoHash = "sha256-DJyml8J9XXKD2t1dQz+OrVDFcq6PLMoDlhiLo86D3CM=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
dbus
libxcb
];
nativeCheckInputs = [
bash
nano
procps
watch
];
useNextest = true;
checkFlags =
lib.concatMap
(t: [
"--skip"
"${t}"
])
[
# e2e tests currently fail
# see https://github.com/tattoy-org/tattoy/pull/104/files for discussion
# re-enable after PR merged
"e2e"
"gpu"
];
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;
};
})