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 { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, poetry-core , pdm-backend
, pdm-pep517
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "jsonref"; pname = "jsonref";
version = "1.0.1"; version = "1.1.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gazpachoking"; owner = "gazpachoking";
repo = "jsonref"; repo = "jsonref";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-8p0BmDZGpQ6Dl9rkqRKZKc0doG5pyXpfcVpemmetLhs="; hash = "sha256-tOhabmqCkktJUZjCrzjOjUGgA/X6EVz0KqehyLtigfc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
poetry-core pdm-backend
pdm-pep517
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
@ -29,11 +34,15 @@ buildPythonPackage rec {
"tests.py" "tests.py"
]; ];
pythonImportsCheck = [
"jsonref"
];
meta = with lib; { meta = with lib; {
description = "An implementation of JSON Reference for Python"; description = "An implementation of JSON Reference for Python";
homepage = "https://github.com/gazpachoking/jsonref"; homepage = "https://github.com/gazpachoking/jsonref";
license = licenses.mit; changelog = "https://github.com/gazpachoking/jsonref/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
platforms = platforms.all;
}; };
} }