mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-19 11:27:10 +00:00
This makes `ucs-detect` available in our Nix environment so that we can run tests on our Unicode support. In the future, I'd like to modify our CI to run this too. This also adds a `./test/ucs-detect.sh` script that runs `ucs-detect` with consistent options that match the upstream test styles.
38 lines
653 B
Nix
38 lines
653 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
flit-core,
|
|
six,
|
|
wcwidth,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "blessed";
|
|
version = "1.23.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-VlkaMpZvcE9hMfFACvQVHZ6PX0FEEzpcoDQBl2Pe53s=";
|
|
};
|
|
|
|
build-system = [flit-core];
|
|
|
|
propagatedBuildInputs = [
|
|
wcwidth
|
|
six
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jquast/blessed";
|
|
description = "Thin, practical wrapper around terminal capabilities in Python";
|
|
maintainers = [];
|
|
license = licenses.mit;
|
|
};
|
|
}
|