02dab4ab5c
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
26 lines
518 B
Nix
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;
|
|
};
|
|
|
|
}
|