summary refs log tree commit diff
path: root/pkgs/development/python-modules/pastel/default.nix
blob: a8eb5396fa2c34fc1b39b00551de1166b126c8e4 (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.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "e6581ac04e973cac858828c6202c1e1e81fee1dc7de7683f3e1ffe0bfd8a573d";
  };

  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 ];
  };
}