diff --git a/pkgs/development/python-modules/jsonref/default.nix b/pkgs/development/python-modules/jsonref/default.nix index abd3fad2fd4c..dc12c60aed48 100644 --- a/pkgs/development/python-modules/jsonref/default.nix +++ b/pkgs/development/python-modules/jsonref/default.nix @@ -1,24 +1,29 @@ { lib , buildPythonPackage , fetchFromGitHub -, poetry-core +, pdm-backend +, pdm-pep517 , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "jsonref"; - version = "1.0.1"; + version = "1.1.0"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "gazpachoking"; repo = "jsonref"; rev = "refs/tags/v${version}"; - hash = "sha256-8p0BmDZGpQ6Dl9rkqRKZKc0doG5pyXpfcVpemmetLhs="; + hash = "sha256-tOhabmqCkktJUZjCrzjOjUGgA/X6EVz0KqehyLtigfc="; }; nativeBuildInputs = [ - poetry-core + pdm-backend + pdm-pep517 ]; nativeCheckInputs = [ @@ -29,11 +34,15 @@ buildPythonPackage rec { "tests.py" ]; + pythonImportsCheck = [ + "jsonref" + ]; + meta = with lib; { description = "An implementation of JSON Reference for Python"; - homepage = "https://github.com/gazpachoking/jsonref"; - license = licenses.mit; + homepage = "https://github.com/gazpachoking/jsonref"; + changelog = "https://github.com/gazpachoking/jsonref/releases/tag/v${version}"; + license = licenses.mit; maintainers = with maintainers; [ ]; - platforms = platforms.all; }; }