1{ buildPythonPackage 2, click 3, fetchPypi 4, gitpython 5, lib 6, nix-update-script 7, requests 8, setuptools-scm 9, setuptools 10}: 11 12buildPythonPackage rec { 13 pname = "oca-port"; 14 version = "0.14"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 inherit version; 19 pname = "oca_port"; 20 hash = "sha256-P+uCoC2u5lR4oTtloNFd4N+CjssUa5PbzbnhEulaRoc="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools 25 setuptools-scm 26 ]; 27 28 propagatedBuildInputs = [ 29 click 30 gitpython 31 requests 32 ]; 33 34 SETUPTOOLS_SCM_PRETEND_VERSION = version; 35 36 passthru.updateScript = nix-update-script { }; 37 38 pythonImportsCheck = [ "oca_port" ]; 39 40 meta = with lib; { 41 description = "Tool helping to port an addon or missing commits of an addon from one branch to another"; 42 homepage = "https://github.com/OCA/oca-port"; 43 license = licenses.lgpl3Plus; 44 maintainers = with maintainers; [ yajo ]; 45 }; 46}