1 { lib, buildPythonPackage, fetchFromGitHub, python }:
3 buildPythonPackage rec {
4 pname = "uri-template";
7 src = fetchFromGitHub {
11 hash = "sha256-IAq6GpEwimq45FU0QugLZLSOhwAmC1KbpZKD0zyxsUs=";
15 sed -i -e 's/0.0.0/${version}/' setup.py
19 ${python.interpreter} test.py
22 pythonImportsCheck = [ "uri_template" ];
25 description = "An implementation of RFC 6570 URI Templates";
26 homepage = "https://github.com/plinss/uri_template/";
27 license = licenses.mit;