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

19 lines
478 B
Nix
Raw Normal View History

{stdenv, fetchurl, python, boost, pkgconfig, imagemagick}:
stdenv.mkDerivation rec {
name = "pythonmagick-${version}";
2017-03-18 22:27:12 +01:00
version = "0.9.16";
src = fetchurl {
2016-10-13 22:50:30 +02:00
url = "mirror://imagemagick/python/releases/PythonMagick-${version}.tar.xz";
2017-03-18 22:27:12 +01:00
sha256 = "0vkgpmrdz530nyvmjahpdrvcj7fd7hvsp15d485hq6103qycisv8";
};
2017-03-18 22:27:12 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [python boost imagemagick];
meta = {
homepage = http://www.imagemagick.org/script/api.php;
};
}