diff --git a/pkgs/development/python-modules/voluptuous-serialize/default.nix b/pkgs/development/python-modules/voluptuous-serialize/default.nix index e2796ee2a74e..05d372ec47df 100644 --- a/pkgs/development/python-modules/voluptuous-serialize/default.nix +++ b/pkgs/development/python-modules/voluptuous-serialize/default.nix @@ -1,17 +1,14 @@ -{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, voluptuous, pytest }: +{ stdenv, buildPythonPackage, isPy3k, fetchPypi, voluptuous, pytest }: buildPythonPackage rec { pname = "voluptuous-serialize"; - version = "2018-03-10"; + version = "2.0.0"; disabled = !isPy3k; - # no tests in PyPI tarball - src = fetchFromGitHub { - owner = "balloob"; - repo = pname; - rev = "567f0d96f928cf6c30c9f1b8bdee729e651aac82"; - sha256 = "0b16f1bxlqyvi1hy8wmzp2k0rzqcycmdhs8zwsyx0swnvkgwnv50"; + src = fetchPypi { + inherit pname version; + sha256 = "44be04d87aec34bd7d31ab539341fadc505205f2299031ed9be985112c21aa41"; }; propagatedBuildInputs = [ @@ -26,6 +23,9 @@ buildPythonPackage rec { py.test ''; + # no tests in PyPI tarball + doCheck = false; + meta = with stdenv.lib; { homepage = https://github.com/balloob/voluptuous-serialize; license = licenses.asl20;