nixpkgs/pkgs/development/python-modules/pastel/default.nix
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00

27 lines
604 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, 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 ];
};
}