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

21 lines
608 B
Nix
Raw Normal View History

# This expression provides Python bindings to ImageMagick. Python libraries are supposed to be called via `python-packages.nix`.
{stdenv, fetchurl, python, boost, pkgconfig, imagemagick}:
stdenv.mkDerivation rec {
name = "pythonmagick-${version}";
2017-03-18 21:27:12 +00:00
version = "0.9.16";
src = fetchurl {
2016-10-13 21:50:30 +01:00
url = "mirror://imagemagick/python/releases/PythonMagick-${version}.tar.xz";
2017-09-14 13:39:28 +01:00
sha256 = "137278mfb5079lns2mmw73x8dhpzgwha53dyl00mmhj2z25varpn";
};
2017-03-18 21:27:12 +00:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [python boost imagemagick];
meta = {
homepage = http://www.imagemagick.org/script/api.php;
};
}