nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 748 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "colorful"; 10 version = "0.5.8"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "timofurrer"; 15 repo = "colorful"; 16 tag = "v${version}"; 17 hash = "sha256-nztVTfBimRDXwPYk3LNMZKa1ItbgqM2ukgZs8hI8TwE="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "colorful" ]; 23 24 meta = { 25 description = "Library for terminal string styling"; 26 homepage = "https://github.com/timofurrer/colorful"; 27 changelog = "https://github.com/timofurrer/colorful/releases/tag/${src.tag}"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ 30 kalbasit 31 l33tname 32 ]; 33 }; 34}