Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / tcolorpy / default.nix
blob9114043e149be0d9bc92903a7a331884d597ae21
1 { buildPythonPackage
2 , fetchFromGitHub
3 , lib
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "tcolorpy";
9   version = "0.1.4";
11   src = fetchFromGitHub {
12     owner = "thombashi";
13     repo = pname;
14     rev = "refs/tags/v${version}";
15     hash = "sha256-cCdKeixRfXkvEGBqozMWw2RjliLdzhlMv8GE2Q40LZQ=";
16   };
18   nativeCheckInputs = [ pytestCheckHook ];
20   meta = with lib; {
21     homepage = "https://github.com/thombashi/tcolorpy";
22     description = "A library to apply true color for terminal text";
23     maintainers = with maintainers; [ genericnerdyusername ];
24     license = licenses.mit;
25   };