nixpkgs/pkgs/applications/graphics/PythonMagick/default.nix

23 lines
461 B
Nix
Raw Normal View History

{stdenv, fetchurl, python, boost, pkgconfig, imagemagick}:
let
2016-10-13 22:50:30 +02:00
version = "0.9.14";
in
stdenv.mkDerivation rec {
name = "pythonmagick-${version}";
src = fetchurl {
2016-10-13 22:50:30 +02:00
url = "mirror://imagemagick/python/releases/PythonMagick-${version}.tar.xz";
sha256 = "1flkdfi3c19wy2qcfzax1cqvmmri10rvmhc2y85gmagqvv01zz22";
};
buildInputs = [python boost pkgconfig imagemagick];
meta = {
homepage = http://www.imagemagick.org/script/api.php;
};
}