@@ -1,16 +1,12 @@
1−{ stdenv, buildPythonPackage, fetchFromGitHub, python, pytest, glibcLocales }:
1+{ stdenv, buildPythonPackage, fetchPypi, python, pytest, glibcLocales }:
22
33buildPythonPackage rec {
4− version = "3.5.5";
4+ version = "3.5.6";
55 pname = "pyfakefs";
66
7− # no tests in PyPI tarball
8− # https://github.com/jmcgeheeiv/pyfakefs/pull/361
9− src = fetchFromGitHub {
10− owner = "jmcgeheeiv";
11− repo = pname;
12− rev = "v${version}";
13− sha256 = "1pww444ih4bf84a0jgl1r446mjywhlls890mnw76flx8maahlik1";
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "efe9c318b2a37ae498a555889684c30ccb6a1b06bd391cb3baf0eb5ba68e9062";
1410 };
1511
1612 postPatch = ''