Merge pull request #6067 from psibi/pythonmagick-fix

Version bump and made name attribute to lowercase.
This commit is contained in:
Peter Simons 2015-01-30 15:11:46 +01:00
commit 8ac54550b5

View File

@ -1,11 +1,17 @@
{stdenv, fetchurl, python, boost, pkgconfig, imagemagick}:
stdenv.mkDerivation {
name = "PythonMagick-0.7";
let
version = "0.9.11";
in
stdenv.mkDerivation rec {
name = "pythonmagick-${version}";
src = fetchurl {
url = http://www.imagemagick.org/download/python/PythonMagick-0.7.tar.gz;
sha256 = "1553kyzdcysii2qhbpbgs0icmfpm6s2lp3zchgs73cxfnfym8lz1";
url = "http://www.imagemagick.org/download/python/releases/PythonMagick-${version}.tar.gz";
sha256 = "01z01mlqkk0lvrh2jsmf84qjw29sq4rpj0653x7nqy7mrszwwp2v";
};
buildInputs = [python boost pkgconfig imagemagick];