mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
22 lines
461 B
Nix
22 lines
461 B
Nix
{stdenv, fetchurl, python, boost, pkgconfig, imagemagick}:
|
|
|
|
let
|
|
|
|
version = "0.9.14";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pythonmagick-${version}";
|
|
|
|
src = fetchurl {
|
|
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;
|
|
};
|
|
}
|