Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 click, 4 fetchPypi, 5 lib, 6 nix-update-script, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "click-odoo"; 12 version = "1.6.0"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-zyfgsHzIoz4lnqANe63b2oqgD/oxBbTbJYEedfSHWQ8="; 18 }; 19 20 nativeBuildInputs = [ setuptools-scm ]; 21 22 propagatedBuildInputs = [ click ]; 23 24 passthru.updateScript = nix-update-script { }; 25 26 meta = with lib; { 27 description = "Odoo scripting helper library"; 28 mainProgram = "click-odoo"; 29 homepage = "https://github.com/acsone/click-odoo"; 30 license = licenses.lgpl3Only; 31 maintainers = with maintainers; [ yajo ]; 32 }; 33}