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 21:50:30 +01:00
version = "0.9.14";
in
stdenv.mkDerivation rec {
name = "pythonmagick-${version}";
src = fetchurl {
2016-10-13 21:50:30 +01: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;
};
}