2007-08-09 03:11:51 +02:00
|
|
|
{stdenv, fetchurl, python, boost, pkgconfig, imagemagick}:
|
|
|
|
|
2015-01-30 14:19:38 +01:00
|
|
|
let
|
|
|
|
|
2016-02-27 23:50:13 +01:00
|
|
|
version = "0.9.12";
|
2015-01-30 14:19:38 +01:00
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pythonmagick-${version}";
|
2007-08-09 03:11:51 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-02-27 23:50:13 +01:00
|
|
|
url = "http://www.imagemagick.org/download/python/releases/PythonMagick-${version}.tar.xz";
|
|
|
|
sha256 = "1l1kr3d7l40fkxgs6mrlxj65alv2jizm9hhgg9i9g90a8qj8642b";
|
2007-08-09 03:11:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [python boost pkgconfig imagemagick];
|
|
|
|
|
2008-01-30 20:49:42 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.imagemagick.org/script/api.php;
|
|
|
|
};
|
2007-08-09 03:11:51 +02:00
|
|
|
}
|