diff --git a/pkgs/development/python-modules/agate/default.nix b/pkgs/development/python-modules/agate/default.nix index 21691b5c408d..80daa780685b 100644 --- a/pkgs/development/python-modules/agate/default.nix +++ b/pkgs/development/python-modules/agate/default.nix @@ -14,7 +14,6 @@ , pytimeparse , pythonOlder , pytz -, six }: buildPythonPackage rec { @@ -22,12 +21,12 @@ buildPythonPackage rec { version = "1.7.1"; format = "setuptools"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "wireservice"; repo = pname; - rev = version; + rev = "refs/tags/${version}"; hash = "sha256-7Ew9bgeheymCL8xXSW5li0LdFvGYb/7gPxmC4w6tHvM="; }; @@ -38,7 +37,6 @@ buildPythonPackage rec { parsedatetime python-slugify pytimeparse - six ]; nativeCheckInputs = [ @@ -50,12 +48,6 @@ buildPythonPackage rec { pytz ]; - postPatch = '' - # No Python 2 support, thus constraint is not needed - substituteInPlace setup.py \ - --replace "'parsedatetime>=2.1,!=2.5,!=2.6'," "'parsedatetime>=2.1'," - ''; - checkPhase = '' LC_ALL="en_US.UTF-8" nosetests tests ''; @@ -67,6 +59,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python data analysis library that is optimized for humans instead of machines"; homepage = "https://github.com/wireservice/agate"; + changelog = "https://github.com/wireservice/agate/blob/${version}/CHANGELOG.rst"; license = with licenses; [ mit ]; maintainers = with maintainers; [ vrthra ]; };