nixpkgs/pkgs/development/python-modules/crayons/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

20 lines
479 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 = with lib; {
description = "TextUI colors for Python";
homepage = "https://github.com/kennethreitz/crayons";
license = licenses.mit;
};
}