mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-19 20:23:19 +02:00
7c4a19b2ee
Co-Authored-By: Chris <grkcharge@gmail.com>
28 lines
608 B
Nix
28 lines
608 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "colorful";
|
|
version = "0.5.4";
|
|
|
|
# No tests in the Pypi package.
|
|
src = fetchFromGitHub {
|
|
owner = "timofurrer";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1fcz5v8b318a3dsdha4c874jsf3wmcw3f25bv2csixclyzacli98";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
meta = with lib; {
|
|
description = "Terminal string styling done right, in Python.";
|
|
homepage = "http://github.com/timofurrer/colorful";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
};
|
|
}
|