python3Packages.pastel: 0.1.0 -> 0.2.0

This commit is contained in:
Jonathan Ringer 2020-03-25 17:03:12 -07:00
parent a5ed0154df
commit f171f421db

View File

@ -1,24 +1,21 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytest }: { lib, buildPythonPackage, fetchPypi, poetry, pytest }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pastel"; pname = "pastel";
version = "0.1.0"; version = "0.2.0";
# No tests in PyPi tarball src = fetchPypi {
src = fetchFromGitHub { inherit pname version;
owner = "sdispater"; sha256 = "0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6";
repo = "pastel";
rev = version;
sha256 = "1b4ag7jr7j0sxly5g29imdq8g0d4ixhbck55dblr45mlsidydx0s";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];
checkPhase = '' checkPhase = ''
pytest tests -sq pytest
''; '';
meta = with lib; { meta = with lib; {
homepage = https://github.com/sdispater/pastel; homepage = "https://github.com/sdispater/pastel";
description = "Bring colors to your terminal"; description = "Bring colors to your terminal";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ]; maintainers = with maintainers; [ jakewaksbaum ];