summary refs log tree commit diff
path: root/pkgs/development/python-modules/pastel/default.nix
blob: a44b4253ca56236f66755d5dbea7a6dcd681b846 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonPackage, fetchPypi, poetry, pytest }:

buildPythonPackage rec {
  pname = "pastel";
  version = "0.2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6";
  };

  checkInputs = [ pytest ];
  checkPhase = ''
    pytest
  '';

  meta = with lib; {
    homepage = "https://github.com/sdispater/pastel";
    description = "Bring colors to your terminal";
    license = licenses.mit;
    maintainers = with maintainers; [ jakewaksbaum ];
  };
}