nixpkgs/pkgs/development/python-modules/blessed/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

46 lines
767 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
six,
wcwidth,
pytest,
mock,
glibcLocales,
}:
buildPythonPackage rec {
pname = "blessed";
version = "1.20.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-LN1n+HRuBI8A30eiiA9NasvNs5kDG2BONLqPcdV4doA=";
};
nativeCheckInputs = [
pytest
mock
glibcLocales
];
# Default tox.ini parameters not needed
checkPhase = ''
rm tox.ini
pytest
'';
propagatedBuildInputs = [
wcwidth
six
];
meta = with lib; {
homepage = "https://github.com/jquast/blessed";
description = "Thin, practical wrapper around terminal capabilities in Python";
maintainers = with maintainers; [ eqyiel ];
license = licenses.mit;
};
}