10 odoo_version = "16.0";
11 odoo_release = "20241010";
12 python = python310.override {
15 in python.pkgs.buildPythonApplication rec {
17 version = "${odoo_version}.${odoo_release}";
19 format = "setuptools";
21 # latest release is at https://github.com/odoo/docker/blob/master/16.0/Dockerfile
23 url = "https://nightly.odoo.com/${odoo_version}/nightly/src/odoo_${version}.zip";
24 name = "odoo-${version}";
25 hash = "sha256-ICe5UOy+Ga81fE66SnIhRz3+JEEbGfoz7ag53mkG4UM="; # odoo
29 "--prefix" "PATH" ":" "${lib.makeBinPath [ wkhtmltopdf rtlcss ]}"
32 propagatedBuildInputs = with python.pkgs; [
79 # takes 5+ minutes and there are not files to strip
83 updateScript = ./update.sh;
85 inherit (nixosTests) odoo;
90 description = "Open Source ERP and CRM";
91 homepage = "https://www.odoo.com/";
92 license = licenses.lgpl3Only;
93 maintainers = with maintainers; [ mkg20001 ];