depot/third_party/nixpkgs/pkgs/development/python-modules/curtsies/default.nix

42 lines
755 B
Nix
Raw Normal View History

{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, blessed
, backports-cached-property
, pyte
, pytestCheckHook
, cwcwidth
}:
buildPythonPackage rec {
pname = "curtsies";
version = "0.4.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-yynvzjP+85WinvpWjyf1kTF4Rp+zqrEUCA1spiZBQv4=";
};
propagatedBuildInputs = [
backports-cached-property
blessed
cwcwidth
];
checkInputs = [
pyte
pytestCheckHook
];
meta = with lib; {
broken = stdenv.isDarwin;
description = "Curses-like terminal wrapper, with colored strings!";
homepage = "https://github.com/bpython/curtsies";
license = licenses.mit;
maintainers = with maintainers; [ flokli ];
};
}