Files
nixpkgs/pkgs/by-name/ti/tinty/package.nix
2026-07-15 14:04:39 -04:00

45 lines
1.0 KiB
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
let
version = "0.34.1";
in
rustPlatform.buildRustPackage {
pname = "tinty";
inherit version;
src = fetchFromGitHub {
owner = "tinted-theming";
repo = "tinty";
tag = "v${version}";
hash = "sha256-DoF3blFlGe7hquRZTrhwC+gO0hqw7vAEslFv1A9RSrA=";
};
cargoHash = "sha256-4+oPOPgPSVgGlvVj4s5qKvW5p630pJnXL5LpOI2IVQQ=";
# Pretty much all tests require internet access
doCheck = false;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Base16 and base24 color scheme manager";
homepage = "https://github.com/tinted-theming/tinty";
changelog = "https://github.com/tinted-theming/tinty/blob/refs/tags/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [
pluiedev
cohei
];
mainProgram = "tinty";
};
}