pythonPackages.pillowfight: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 14:05:02 -04:00 committed by Frederik Rietdijk
parent 0e8cf61604
commit 64d22bc0a9
2 changed files with 25 additions and 17 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pillow
}:
buildPythonPackage rec {
pname = "pillowfight";
version = "0.2";
src = fetchPypi {
inherit pname version;
sha256 = "1mh1nhcjjgv7x134sv0krri59ng8bp2w6cwsxc698rixba9f3g0m";
};
propagatedBuildInputs = [ pillow ];
meta = with stdenv.lib; {
description = "Pillow Fight";
homepage = "https://github.com/beanbaginc/pillowfight";
license = licenses.mit;
};
}

View File

@ -2322,23 +2322,7 @@ in {
djmail = callPackage ../development/python-modules/djmail { }; djmail = callPackage ../development/python-modules/djmail { };
pillowfight = buildPythonPackage rec { pillowfight = callPackage ../development/python-modules/pillowfight { };
name = "pillowfight-${version}";
version = "0.2";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pillowfight/pillowfight-${version}.tar.gz";
sha256 = "1mh1nhcjjgv7x134sv0krri59ng8bp2w6cwsxc698rixba9f3g0m";
};
propagatedBuildInputs = with self; [
pillow
];
meta = with stdenv.lib; {
description = "Pillow Fight";
homepage = "https://github.com/beanbaginc/pillowfight";
};
};
kaptan = buildPythonPackage rec { kaptan = buildPythonPackage rec {
name = "kaptan-${version}"; name = "kaptan-${version}";