My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/curtsies/default.nix

44 lines
831 B

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