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

31 lines
565 B
Nix
Raw Normal View History

2019-05-11 15:28:01 +02:00
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "wasabi";
2019-11-22 12:20:24 +01:00
version = "0.4.0";
2019-05-11 15:28:01 +02:00
src = fetchPypi {
inherit pname version;
2019-11-22 12:20:24 +01:00
sha256 = "0w2jkgrf0x58v8x90v4nifbwcb87pp613vp3sld1fk2avn80imnw";
2019-05-11 15:28:01 +02: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 ];
};
}