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:
parent
bbc81bee15
commit
5950b49428
|
@ -1,30 +1,25 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "wasabi";
|
pname = "wasabi";
|
||||||
version = "0.7.1";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "ee3809f4ce00e1e7f424b1572c753cff0dcaca2ca684e67e31f985033a9f070b";
|
sha256 = "75fec6db6193c8615d7f398ae4aa2c4ad294e6e3e81c6a6dbbbd3864ee2223c3";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [ pytestCheckHook ];
|
||||||
pytest
|
|
||||||
];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest wasabi/tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A lightweight console printing and formatting toolkit";
|
description = "A lightweight console printing and formatting toolkit";
|
||||||
homepage = "https://github.com/ines/wasabi";
|
homepage = "https://github.com/ines/wasabi";
|
||||||
|
changelog = "https://github.com/ines/wasabi/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ danieldk ];
|
maintainers = with maintainers; [ danieldk ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue