Files
nixpkgs/pkgs/development/python-modules/crayons/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

26 lines
482 B
Nix

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