@@ -1,25 +1,38 @@
1−{ lib, buildPythonPackage, fetchPypi, simplejson, pytest, glibcLocales }:
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, simplejson
5+, pytestCheckHook
6+, pythonOlder
7+}:
28
39buildPythonPackage rec {
410 pname = "uritemplate";
5− version = "3.0.1";
11+ version = "4.1.1";
12+ format = "setuptools";
13+
14+ disabled = pythonOlder "3.6";
615
716 src = fetchPypi {
817 inherit pname version;
9− sha256 = "5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae";
18+ sha256 = "sha256-Q0bt/Fw7efaUvM1tYJmjIrvrYo2/LNhu6lWkVs5RJPA=";
1019 };
1120
12− propagatedBuildInputs = [ simplejson ];
21+ propagatedBuildInputs = [
22+ simplejson
23+ ];
1324
14− checkInputs = [ pytest glibcLocales ];
25+ checkInputs = [
26+ pytestCheckHook
27+ ];
1528
16− checkPhase = ''
17− LC_ALL=en_US.UTF-8 py.test
18− '';
29+ pythonImportsCheck = [
30+ "uritemplate"
31+ ];
1932
2033 meta = with lib; {
34+ description = "Implementation of RFC 6570 URI templates";
2135 homepage = "https://github.com/python-hyper/uritemplate";
22− description = "URI template parsing for Humans";
2336 license = with licenses; [ asl20 bsd3 ];
2437 maintainers = with maintainers; [ matthiasbeyer ];
2538 };