1{ lib, buildPythonPackage, fetchPypi, poetry, pytest }:
2
3buildPythonPackage rec {
4 pname = "pastel";
5 version = "0.2.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6";
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}