1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "pastel"; 5 version = "0.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "e6581ac04e973cac858828c6202c1e1e81fee1dc7de7683f3e1ffe0bfd8a573d"; 10 }; 11 12 checkInputs = [ pytest ]; 13 checkPhase = '' 14 pytest 15 ''; 16 17 meta = with lib; { 18 homepage = "https://github.com/sdispater/pastel"; 19 description = "Bring colors to your terminal"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ jakewaksbaum ]; 22 }; 23}