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

31 lines
577 B
Nix
Raw Normal View History

2019-05-11 15:28:01 +02:00
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "wasabi";
2019-12-10 19:07:43 +01:00
version = "0.4.2";
2019-05-11 15:28:01 +02:00
src = fetchPypi {
inherit pname version;
2019-12-10 19:07:43 +01:00
sha256 = "9af48b37709000dac34653be376aaac2e3e15392b8c78d0898124c52e083d088";
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 ];
};
}