mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
cbeams: modernize, add sigmanificient to maintainers
This commit is contained in:
parent
e414edaa0d
commit
7a58572d13
@ -1,26 +1,44 @@
|
|||||||
{ lib, python3Packages, fetchPypi }:
|
{
|
||||||
|
lib,
|
||||||
|
python3Packages,
|
||||||
|
fetchPypi,
|
||||||
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "cbeams";
|
pname = "cbeams";
|
||||||
version = "1.0.3";
|
version = "1.0.3";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
disabled = !python3Packages.isPy3k;
|
disabled = !python3Packages.isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1agcjg6kmcyvk834xd2j60mi349qi9iw3dc2vwpd7pqwq1daq3gi";
|
hash = "sha256-8Q2sWsAc39Mu34K1wWOKOJERKzBStE4GmtuzOs2T7Kk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
build-system = [ python3Packages.setuptools ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace cbeams/terminal.py \
|
substituteInPlace cbeams/terminal.py \
|
||||||
--replace-fail "blessings" "blessed"
|
--replace-fail "blessings" "blessed"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [ blessed docopt ];
|
pythonRemoveDeps = [ "blessings" ];
|
||||||
|
|
||||||
meta = with lib; {
|
dependencies = with python3Packages; [
|
||||||
|
blessed
|
||||||
|
docopt
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = false; # no tests
|
||||||
|
|
||||||
|
meta = {
|
||||||
homepage = "https://github.com/tartley/cbeams";
|
homepage = "https://github.com/tartley/cbeams";
|
||||||
description = "Command-line program to draw animated colored circles in the terminal";
|
description = "Command-line program to draw animated colored circles in the terminal";
|
||||||
license = licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = with maintainers; [ oxzi ];
|
maintainers = with lib.maintainers; [
|
||||||
|
oxzi
|
||||||
|
sigmanificient
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user