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
43 lines
927 B
Nix
43 lines
927 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
python3Packages,
|
|
}:
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "catt";
|
|
version = "0.13.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hlCB06l4nzafvcnBNCXWiJsJNmP8n731bQgq5xvUZvM=";
|
|
};
|
|
|
|
build-system = [
|
|
python3Packages.poetry-core
|
|
];
|
|
|
|
dependencies = [
|
|
python3Packages.click
|
|
python3Packages.ifaddr
|
|
python3Packages.pychromecast
|
|
python3Packages.requests
|
|
python3Packages.yt-dlp
|
|
];
|
|
|
|
doCheck = false; # attempts to access various URLs
|
|
|
|
pythonImportsCheck = [
|
|
"catt"
|
|
];
|
|
|
|
meta = {
|
|
description = "Send media from online sources to Chromecast devices";
|
|
homepage = "https://github.com/skorokithakis/catt";
|
|
changelog = "https://github.com/skorokithakis/catt/releases/tag/v${version}";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ lib.maintainers.RossSmyth ];
|
|
mainProgram = "catt";
|
|
};
|
|
}
|