summary refs log tree commit diff
path: root/pkgs/development/python-modules/wasabi/default.nix
blob: a545a9510b88f5a2c7e167de2c2dda0eb8615005 (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
24
25
26
27
28
29
30
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:

buildPythonPackage rec {
  pname = "wasabi";
  version = "0.7.1";

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

  checkInputs = [
    pytest
  ];

  checkPhase = ''
    pytest wasabi/tests
  '';

  meta = with stdenv.lib; {
    description = "A lightweight console printing and formatting toolkit";
    homepage = "https://github.com/ines/wasabi";
    license = licenses.mit;
    maintainers = with maintainers; [ danieldk ];
    };
}