depot/third_party/nixpkgs/pkgs/development/python-modules/crayons/default.nix

26 lines
488 B
Nix
Raw Normal View History

{
lib,
fetchPypi,
buildPythonPackage,
colorama,
}:
buildPythonPackage rec {
pname = "crayons";
version = "0.4.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "bd33b7547800f2cfbd26b38431f9e64b487a7de74a947b0fafc89b45a601813f";
};
propagatedBuildInputs = [ colorama ];
meta = with lib; {
description = "TextUI colors for Python";
homepage = "https://github.com/kennethreitz/crayons";
license = licenses.mit;
};
}