nixpkgs/pkgs/development/python-modules/pastel/default.nix

24 lines
537 B
Nix
Raw Normal View History

2020-03-26 00:03:12 +00:00
{ lib, buildPythonPackage, fetchPypi, poetry, pytest }:
2019-01-07 16:57:30 +00:00
buildPythonPackage rec {
pname = "pastel";
version = "0.2.1";
2019-01-07 16:57:30 +00:00
2020-03-26 00:03:12 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "e6581ac04e973cac858828c6202c1e1e81fee1dc7de7683f3e1ffe0bfd8a573d";
2019-01-07 16:57:30 +00:00
};
checkInputs = [ pytest ];
checkPhase = ''
2020-03-26 00:03:12 +00:00
pytest
2019-01-07 16:57:30 +00:00
'';
meta = with lib; {
2020-03-26 00:03:12 +00:00
homepage = "https://github.com/sdispater/pastel";
2019-01-07 16:57:30 +00:00
description = "Bring colors to your terminal";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}