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