Merge pull request #272258 from fabaff/uritemplate-simplejson
python311Packages.uritemplate: refactor
This commit is contained in:
commit
9ed8ade77a
1 changed files with 5 additions and 4 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue