pythonPackges.pilkit: refactor move to python-modules
This commit is contained in:
parent
ac2e2a3d38
commit
60222bc31b
36
pkgs/development/python-modules/pilkit/default.nix
Normal file
36
pkgs/development/python-modules/pilkit/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pillow
|
||||||
|
, nose_progressive
|
||||||
|
, nose
|
||||||
|
, mock
|
||||||
|
, blessings
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pilkit";
|
||||||
|
version = "1.1.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "e00585f5466654ea2cdbf7decef9862cb00e16fd363017fa7ef6623a16b0d2c7";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace setup.py --replace 'nose==1.2.1' 'nose'
|
||||||
|
'';
|
||||||
|
|
||||||
|
# tests fail, see https://github.com/matthewwithanm/pilkit/issues/9
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
buildInputs = [ pillow nose_progressive nose mock blessings ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://github.com/matthewwithanm/pilkit/;
|
||||||
|
description = "A collection of utilities and processors for the Python Imaging Libary";
|
||||||
|
license = licenses.bsd0;
|
||||||
|
maintainers = with maintainers; [ domenkozar ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3807,27 +3807,7 @@ in {
|
|||||||
|
|
||||||
sympy = callPackage ../development/python-modules/sympy { };
|
sympy = callPackage ../development/python-modules/sympy { };
|
||||||
|
|
||||||
pilkit = buildPythonPackage rec {
|
pilkit = callPackage ../development/python-modules/pilkit { };
|
||||||
name = "pilkit-1.1.4";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/pilkit/${name}.tar.gz";
|
|
||||||
sha256 = "e00585f5466654ea2cdbf7decef9862cb00e16fd363017fa7ef6623a16b0d2c7";
|
|
||||||
};
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
substituteInPlace setup.py --replace 'nose==1.2.1' 'nose'
|
|
||||||
'';
|
|
||||||
|
|
||||||
# tests fail, see https://github.com/matthewwithanm/pilkit/issues/9
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
buildInputs = with self; [ pillow nose_progressive nose mock blessings ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
maintainers = with maintainers; [ domenkozar ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
clint = buildPythonPackage rec {
|
clint = buildPythonPackage rec {
|
||||||
name = "clint-0.5.1";
|
name = "clint-0.5.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user