diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bd9dbc674fa2..e19fc8d4ae2d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -25981,11 +25981,14 @@ in modules // { }; parsimonious = buildPythonPackage rec { - name = "parsimonious-0.6.0"; + version = "0.6.2"; + name = "parsimonious-${version}"; disabled = ! isPy27; - src = pkgs.fetchurl { - url = "https://github.com/erikrose/parsimonious/archive/0.6.tar.gz"; - sha256 = "7ad992448b69a3f3d943bac0be132bced3f13937c8ca150ba2fd1d7b6534f846"; + src = pkgs.fetchFromGitHub { + repo = "parsimonious"; + owner = "erikrose"; + rev = version; + sha256 = "1wf12adzhqjibbhy2m9abfqdgbb6z97s7wydhasir70307rqf9rj"; }; propagatedBuildInputs = with self; [ nose ];