From 4d9bdce5c47c23d9ab61b96ef342c25f7cb67300 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 22 Jan 2016 13:55:12 +0100 Subject: [PATCH] pythonPackages.iso8601: 0.1.10 -> 0.1.11 --- pkgs/top-level/python-packages.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9b66c891c984..3d333a9214d9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9866,15 +9866,20 @@ in modules // { }; }; - iso8601 = buildPythonPackage { - name = "iso8601-0.1.10"; + iso8601 = buildPythonPackage rec { + name = "iso8601-${version}"; + version = "0.1.11"; src = pkgs.fetchurl { - url = https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.10.tar.gz; - sha256 = "1qf01afxh7j4gja71vxv345if8avg6nnm0ry0zsk6j3030xgy4p7"; + url = "https://pypi.python.org/packages/source/i/iso8601/${name}.tar.gz"; + sha256 = "e8fb52f78880ae063336c94eb5b87b181e6a0cc33a6c008511bac9a6e980ef30"; }; buildInputs = [ self.pytest ]; + checkPhase = '' + py.test iso8601 + ''; + meta = { homepage = https://bitbucket.org/micktwomey/pyiso8601/; description = "Simple module to parse ISO 8601 dates";