pythonPackages.wasabi: init at 0.2.2

This commit is contained in:
Daniël de Kok 2019-05-11 15:28:01 +02:00
parent bea8ead3c8
commit 18765a70ba
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "wasabi";
version = "0.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "0xxjc9bvvcaz1qq1jyhcxyl2v39jz8d8dz4zhpfbc7dz53kq6b7r";
};
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 ];
};
}

View File

@ -5431,6 +5431,8 @@ in {
thinc = callPackage ../development/python-modules/thinc { };
wasabi = callPackage ../development/python-modules/wasabi { };
yahooweather = callPackage ../development/python-modules/yahooweather { };
spacy = callPackage ../development/python-modules/spacy { };