ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / ansimarkup / default.nix
blobb74c7e32179908c90bd5f7ad3b290d0b0480dbd1
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , colorama
6 }:
8 buildPythonPackage rec {
9   pname = "ansimarkup";
10   version = "1.5.0";
12   src = fetchFromGitHub {
13     owner = "gvalkov";
14     repo = "python-ansimarkup";
15     rev = "v${version}";
16     sha256 = "sha256-HGeVapv2Z5GtPwSp3+dvUwAH0bFqu+Bmk5E6SRr7NO4=";
17   };
19   propagatedBuildInputs = [ colorama ];
21   checkInputs = [ pytestCheckHook ];
23   pythonImportsCheck = [ "ansimarkup" ];
25   meta = with lib; {
26     description = "An XML-like markup for producing colored terminal text.";
27     homepage = "https://github.com/gvalkov/python-ansimarkup";
28     license = licenses.bsd3;
29     maintainers = with maintainers; [ cpcloud ];
30   };