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

25 lines
503 B
Nix
Raw Normal View History

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