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

24 lines
525 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";
2020-03-26 00:03:12 +00:00
version = "0.2.0";
2019-01-07 16:57:30 +00:00
2020-03-26 00:03:12 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6";
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 ];
};
}