Files
nixpkgs/pkgs/development/python-modules/pillowfight/default.nix
T
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

26 lines
518 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pillow
}:
buildPythonPackage rec {
pname = "pillowfight";
version = "0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "4923f4d1e78be15f19f03a608fb34ba9cb71bf5205de3c9fe7461c49078167a7";
};
propagatedBuildInputs = [ pillow ];
meta = with lib; {
description = "Eases the transition from PIL to Pillow for Python packages";
homepage = "https://github.com/beanbaginc/pillowfight";
license = licenses.mit;
};
}