Merge pull request #241653 from fabaff/jsonref-bump

python311Packages.jsonref: 1.0.1 -> 1.1.0
This commit is contained in:
Fabian Affolter 2023-07-05 22:39:43 +02:00 committed by GitHub
commit f7ce6cb355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
};
}