From 7f5718b06f6439fc6849cf69ddc46b297b14d851 Mon Sep 17 00:00:00 2001 From: Sibi Date: Fri, 30 Jan 2015 18:49:38 +0530 Subject: [PATCH] Version bump and made name attribute to lowercase. (Tested the fix in my local machine just to be sure) --- .../applications/graphics/PythonMagick/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/graphics/PythonMagick/default.nix b/pkgs/applications/graphics/PythonMagick/default.nix index 3e01dc7b2dbe..17bf7d546709 100644 --- a/pkgs/applications/graphics/PythonMagick/default.nix +++ b/pkgs/applications/graphics/PythonMagick/default.nix @@ -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];