python3Packages.wasabi: 0.7.1 -> 0.8.0

Changelog:
https://github.com/ines/wasabi/releases/tag/v0.8.0

While at it:

- Use pytestCheckHook;
- add meta.changelog.
This commit is contained in:
Daniël de Kok 2020-08-27 14:27:12 +02:00 committed by Peter Simons
parent 72e851e5ba
commit 2bc912cb6b

View file

@ -1,30 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "wasabi";
version = "0.7.1";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "ee3809f4ce00e1e7f424b1572c753cff0dcaca2ca684e67e31f985033a9f070b";
sha256 = "75fec6db6193c8615d7f398ae4aa2c4ad294e6e3e81c6a6dbbbd3864ee2223c3";
};
checkInputs = [
pytest
];
checkPhase = ''
pytest wasabi/tests
'';
checkInputs = [ pytestCheckHook ];
meta = with stdenv.lib; {
description = "A lightweight console printing and formatting toolkit";
homepage = "https://github.com/ines/wasabi";
changelog = "https://github.com/ines/wasabi/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ danieldk ];
};
};
}