My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/uritemplate/default.nix

39 lines
733 B

{ lib
, buildPythonPackage
, fetchPypi
, simplejson
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "uritemplate";
version = "4.1.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Q0bt/Fw7efaUvM1tYJmjIrvrYo2/LNhu6lWkVs5RJPA=";
};
propagatedBuildInputs = [
simplejson
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"uritemplate"
];
meta = with lib; {
description = "Implementation of RFC 6570 URI templates";
homepage = "https://github.com/python-hyper/uritemplate";
license = with licenses; [ asl20 bsd3 ];
maintainers = with maintainers; [ matthiasbeyer ];
};
}