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

23 lines
476 B
Nix
Raw Normal View History

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