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