diff --git a/pkgs/development/python-modules/strictyaml/default.nix b/pkgs/development/python-modules/strictyaml/default.nix index 8a7fa7dc7c16..d9d57faf48f4 100644 --- a/pkgs/development/python-modules/strictyaml/default.nix +++ b/pkgs/development/python-modules/strictyaml/default.nix @@ -1,19 +1,21 @@ -{ buildPythonPackage -, lib +{ lib +, buildPythonPackage , fetchPypi -, isPy27 +, pythonOlder , ruamel-yaml , python-dateutil }: buildPythonPackage rec { - version = "1.6.2"; pname = "strictyaml"; - disabled = isPy27; + version = "1.7.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-cM1VmA/ikp3AOJJMoI9o+WFIIjqHd4EPphbjR46+cco="; + hash = "sha256-IvhUpfyrQrXduoAwoOS+UcqJrwJnlhyNbPqGOVWGxAc="; }; postPatch = '' @@ -21,16 +23,23 @@ buildPythonPackage rec { --replace "ruamel.yaml==0.17.4" "ruamel.yaml" ''; - propagatedBuildInputs = [ ruamel-yaml python-dateutil ]; + propagatedBuildInputs = [ + ruamel-yaml + python-dateutil + ]; # Library tested with external tool # https://hitchdev.com/approach/contributing-to-hitch-libraries/ doCheck = false; - pythonImportsCheck = [ "strictyaml" ]; + + pythonImportsCheck = [ + "strictyaml" + ]; meta = with lib; { description = "Strict, typed YAML parser"; homepage = "https://hitchdev.com/strictyaml/"; + changelog = "https://hitchdev.com/strictyaml/changelog/"; license = licenses.mit; maintainers = with maintainers; [ jonringer ]; };