pythonPackages.pastel: init at 0.1.0
This commit is contained in:
parent
e77c10db63
commit
1b22109904
26
pkgs/development/python-modules/pastel/default.nix
Normal file
26
pkgs/development/python-modules/pastel/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user