python3Packages.pastel: 0.1.0 -> 0.2.0
This commit is contained in:
parent
a5ed0154df
commit
f171f421db
@ -1,24 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
|
||||
{ lib, buildPythonPackage, fetchPypi, poetry, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pastel";
|
||||
version = "0.1.0";
|
||||
version = "0.2.0";
|
||||
|
||||
# No tests in PyPi tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "sdispater";
|
||||
repo = "pastel";
|
||||
rev = version;
|
||||
sha256 = "1b4ag7jr7j0sxly5g29imdq8g0d4ixhbck55dblr45mlsidydx0s";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
pytest tests -sq
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/sdispater/pastel;
|
||||
homepage = "https://github.com/sdispater/pastel";
|
||||
description = "Bring colors to your terminal";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jakewaksbaum ];
|
||||
|
Loading…
Reference in New Issue
Block a user