diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2022-05-15 08:46:30 +0200 |
---|---|---|
committer | Maciej Krüger <mkg20001@gmail.com> | 2022-05-15 09:07:41 +0200 |
commit | ae72a2d3dd6e1b88bd1ffd7b11ace98e3e209262 (patch) | |
tree | f8f2373c366ad2bc748ca8dc4c7f9f47e322f787 | |
parent | cfb71b45a0512f85e870575ed8563a5d118eed19 (diff) |
odoo: 15.0.20220126 -> 15.0.20220506
-rw-r--r-- | pkgs/applications/finance/odoo/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/applications/finance/odoo/default.nix b/pkgs/applications/finance/odoo/default.nix index 38719de371aa0..9e1c9955c08cd 100644 --- a/pkgs/applications/finance/odoo/default.nix +++ b/pkgs/applications/finance/odoo/default.nix @@ -72,19 +72,18 @@ let in python.pkgs.buildPythonApplication rec { pname = "odoo"; - major = "15"; - minor = "0"; - patch = "20220126"; + odoo_version = "15.0"; + odoo_release = "20220506"; - version = "${major}.${minor}.${patch}"; + version = "${odoo_version}.${odoo_release}"; format = "setuptools"; # latest release is at https://github.com/odoo/docker/blob/master/15.0/Dockerfile src = fetchurl { - url = "https://nightly.odoo.com/${major}.${minor}/nightly/src/odoo_${version}.tar.gz"; + url = "https://nightly.odoo.com/${odoo_version}/nightly/src/odoo_${version}.tar.gz"; name = "${pname}-${version}"; - hash = "sha256-mofV0mNCdyzJecp0XegZBR/5NzHjis9kbpsUA/KJbZg="; + sha256 = "0mwlmfz5nhvg483ldrmlrjhwaf284c0c0pxf0fb0sfx2dnjjj3ib"; # odoo }; # needs some investigation @@ -140,6 +139,10 @@ in python.pkgs.buildPythonApplication rec { cd odoo* ''; + passthru = { + updateScript = ./update.sh; + }; + meta = with lib; { description = "Open Source ERP and CRM"; homepage = "https://www.odoo.com/"; |