2019-05-11 14:28:01 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wasabi";
|
2019-12-10 18:07:43 +00:00
|
|
|
version = "0.4.2";
|
2019-05-11 14:28:01 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-10 18:07:43 +00:00
|
|
|
sha256 = "9af48b37709000dac34653be376aaac2e3e15392b8c78d0898124c52e083d088";
|
2019-05-11 14:28:01 +01: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;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ danieldk ];
|
|
|
|
};
|
|
|
|
}
|