at master 893 B view raw
1{ 2 buildPythonPackage, 3 click, 4 fetchFromGitHub, 5 gitpython, 6 giturlparse, 7 lib, 8 nix-update-script, 9 requests, 10 setuptools-scm, 11}: 12 13buildPythonPackage rec { 14 pname = "oca-port"; 15 version = "0.18"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 inherit version; 20 owner = "OCA"; 21 repo = "oca-port"; 22 tag = "v${version}"; 23 hash = "sha256-r32ePlbg0GjryB5HDx0nQTq71lG/o+4sUFRdKW/K5ys="; 24 }; 25 26 build-system = [ 27 setuptools-scm 28 ]; 29 30 dependencies = [ 31 click 32 giturlparse 33 gitpython 34 requests 35 ]; 36 37 passthru.updateScript = nix-update-script { }; 38 39 pythonImportsCheck = [ "oca_port" ]; 40 41 meta = { 42 description = "Tool helping to port an addon or missing commits of an addon from one branch to another"; 43 homepage = "https://github.com/OCA/oca-port"; 44 license = lib.licenses.lgpl3Plus; 45 maintainers = with lib.maintainers; [ yajo ]; 46 }; 47}