Unverified Commit 9ed8ade7 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #272258 from fabaff/uritemplate-simplejson

python311Packages.uritemplate: refactor
parents e1567f2e 9412fe03
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
{ 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 ];
  };