nixpkgs/pkgs/development/python-modules/wasabi/default.nix

31 lines
579 B
Nix
Raw Normal View History

2019-05-11 06:28:01 -07:00
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "wasabi";
2020-07-31 01:56:49 -07:00
version = "0.7.1";
2019-05-11 06:28:01 -07:00
src = fetchPypi {
inherit pname version;
2020-07-31 01:56:49 -07:00
sha256 = "ee3809f4ce00e1e7f424b1572c753cff0dcaca2ca684e67e31f985033a9f070b";
2019-05-11 06:28:01 -07:00
};
checkInputs = [
pytest
];
checkPhase = ''
pytest wasabi/tests
'';
meta = with stdenv.lib; {
description = "A lightweight console printing and formatting toolkit";
homepage = "https://github.com/ines/wasabi";
2019-05-11 06:28:01 -07:00
license = licenses.mit;
maintainers = with maintainers; [ danieldk ];
};
}