Merge pull request #272258 from fabaff/uritemplate-simplejson

python311Packages.uritemplate: refactor
This commit is contained in:
Fabian Affolter 2023-12-06 08:21:10 +01:00 committed by GitHub
commit 9ed8ade77a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,15 @@
{ lib
, buildPythonPackage
, fetchPypi
, simplejson
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "uritemplate";
version = "4.1.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.6";
@ -18,8 +18,8 @@ buildPythonPackage rec {
hash = "sha256-Q0bt/Fw7efaUvM1tYJmjIrvrYo2/LNhu6lWkVs5RJPA=";
};
propagatedBuildInputs = [
simplejson
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
@ -33,6 +33,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Implementation of RFC 6570 URI templates";
homepage = "https://github.com/python-hyper/uritemplate";
changelog = "https://github.com/python-hyper/uritemplate/blob/${version}/HISTORY.rst";
license = with licenses; [ asl20 bsd3 ];
maintainers = with maintainers; [ matthiasbeyer ];
};