pythonPackages.pastel: init at 0.1.0

This commit is contained in:
Jake Waksbaum 2019-01-07 16:57:30 +00:00
parent e77c10db63
commit 1b22109904
2 changed files with 28 additions and 0 deletions

View File

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

View File

@ -488,6 +488,8 @@ in {
palettable = callPackage ../development/python-modules/palettable { };
pastel = callPackage ../development/python-modules/pastel { };
pathlib = callPackage ../development/python-modules/pathlib { };
pdf2image = callPackage ../development/python-modules/pdf2image { };