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
45 lines
885 B
Nix
45 lines
885 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchPypi,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "cbeams";
|
|
version = "1.0.3";
|
|
pyproject = true;
|
|
|
|
disabled = !python3Packages.isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-8Q2sWsAc39Mu34K1wWOKOJERKzBStE4GmtuzOs2T7Kk=";
|
|
};
|
|
|
|
build-system = [ python3Packages.setuptools ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace cbeams/terminal.py \
|
|
--replace-fail "blessings" "blessed"
|
|
'';
|
|
|
|
pythonRemoveDeps = [ "blessings" ];
|
|
|
|
dependencies = with python3Packages; [
|
|
blessed
|
|
docopt
|
|
];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
meta = {
|
|
homepage = "https://github.com/tartley/cbeams";
|
|
description = "Command-line program to draw animated colored circles in the terminal";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
oxzi
|
|
sigmanificient
|
|
];
|
|
};
|
|
}
|