tattoy: init at 0.1.8 (#428828)
This commit is contained in:
parent
c88aab4286
commit
f2af4a5483
63
pkgs/by-name/ta/tattoy/package.nix
Normal file
63
pkgs/by-name/ta/tattoy/package.nix
Normal file
@ -0,0 +1,63 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user