pythonPackages.pillowfight: refactor move to python-modules
This commit is contained in:
parent
0e8cf61604
commit
64d22bc0a9
24
pkgs/development/python-modules/pillowfight/default.nix
Normal file
24
pkgs/development/python-modules/pillowfight/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -2322,23 +2322,7 @@ in {
|
||||
|
||||
djmail = callPackage ../development/python-modules/djmail { };
|
||||
|
||||
pillowfight = buildPythonPackage rec {
|
||||
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";
|
||||
};
|
||||
};
|
||||
pillowfight = callPackage ../development/python-modules/pillowfight { };
|
||||
|
||||
kaptan = buildPythonPackage rec {
|
||||
name = "kaptan-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user