Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 43 lines 843 B view raw
1{ 2 lib, 3 stdenv, 4 blessed, 5 buildPythonPackage, 6 cwcwidth, 7 fetchPypi, 8 pyte, 9 pytestCheckHook, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "curtsies"; 15 version = "0.4.3"; 16 pyproject = true; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-ECoP+/lSEk8b4iL9aYnaTsfM4E5J9hMAnl9UrTdhiCU="; 21 }; 22 23 nativeBuildInputs = [ setuptools ]; 24 25 propagatedBuildInputs = [ 26 blessed 27 cwcwidth 28 ]; 29 30 nativeCheckInputs = [ 31 pyte 32 pytestCheckHook 33 ]; 34 35 meta = { 36 description = "Curses-like terminal wrapper, with colored strings"; 37 homepage = "https://github.com/bpython/curtsies"; 38 changelog = "https://github.com/bpython/curtsies/blob/v${version}/CHANGELOG.md"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ flokli ]; 41 broken = stdenv.hostPlatform.isDarwin; 42 }; 43}