Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5}: 6 7buildPythonPackage rec { 8 pname = "plotext"; 9 version = "5.2.8"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "piccolomo"; 14 repo = pname; 15 rev = "refs/tags/${version}"; 16 hash = "sha256-V7N7p5RxLKYLmJeojikYJ/tT/IpVGzG3ZPVvUisDAVs="; 17 }; 18 19 # Package does not have a conventional test suite that can be run with either 20 # `pytestCheckHook` or the standard setuptools testing situation. 21 doCheck = false; 22 23 pythonImportsCheck = [ "plotext" ]; 24 25 meta = with lib; { 26 description = "Plotting directly in the terminal"; 27 mainProgram = "plotext"; 28 homepage = "https://github.com/piccolomo/plotext"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ samuela ]; 31 }; 32}