nixpkgs/pkgs/by-name/cb/cbeams/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
885 B
Nix
Raw Normal View History

{
lib,
python3Packages,
fetchPypi,
}:
2020-03-07 18:53:45 +00:00
python3Packages.buildPythonApplication rec {
2020-03-07 18:53:45 +00:00
pname = "cbeams";
version = "1.0.3";
pyproject = true;
disabled = !python3Packages.isPy3k;
2020-03-07 18:53:45 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-8Q2sWsAc39Mu34K1wWOKOJERKzBStE4GmtuzOs2T7Kk=";
2020-03-07 18:53:45 +00:00
};
build-system = [ python3Packages.setuptools ];
postPatch = ''
substituteInPlace cbeams/terminal.py \
--replace-fail "blessings" "blessed"
'';
pythonRemoveDeps = [ "blessings" ];
dependencies = with python3Packages; [
blessed
docopt
];
doCheck = false; # no tests
2020-03-07 18:53:45 +00:00
meta = {
2020-03-07 18:53:45 +00:00
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
];
2020-03-07 18:53:45 +00:00
};
}