odoo: 15.0.20220126 -> 15.0.20220506

main
Maciej Krüger 2 years ago
parent cfb71b45a0
commit ae72a2d3dd
No known key found for this signature in database
GPG Key ID: 0D948CE19CF49C5F
  1. 15
      pkgs/applications/finance/odoo/default.nix

@ -72,19 +72,18 @@ let
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "odoo"; pname = "odoo";
major = "15"; odoo_version = "15.0";
minor = "0"; odoo_release = "20220506";
patch = "20220126";
version = "${major}.${minor}.${patch}"; version = "${odoo_version}.${odoo_release}";
format = "setuptools"; format = "setuptools";
# latest release is at https://github.com/odoo/docker/blob/master/15.0/Dockerfile # latest release is at https://github.com/odoo/docker/blob/master/15.0/Dockerfile
src = fetchurl { 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}"; name = "${pname}-${version}";
hash = "sha256-mofV0mNCdyzJecp0XegZBR/5NzHjis9kbpsUA/KJbZg="; sha256 = "0mwlmfz5nhvg483ldrmlrjhwaf284c0c0pxf0fb0sfx2dnjjj3ib"; # odoo
}; };
# needs some investigation # needs some investigation
@ -140,6 +139,10 @@ in python.pkgs.buildPythonApplication rec {
cd odoo* cd odoo*
''; '';
passthru = {
updateScript = ./update.sh;
};
meta = with lib; { meta = with lib; {
description = "Open Source ERP and CRM"; description = "Open Source ERP and CRM";
homepage = "https://www.odoo.com/"; homepage = "https://www.odoo.com/";

Loading…
Cancel
Save