From 33286b8dca4b924701d7baf98fd64cacc1c9e476 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 20 Dec 2024 21:25:36 +0100 Subject: [PATCH] dolibarr: 20.0.0 -> 20.0.2 Diff: https://github.com/Dolibarr/dolibarr/compare/20.0.0...20.0.2 Changelog: https://github.com/Dolibarr/dolibarr/releases/tag/20.0.2 --- pkgs/by-name/do/dolibarr/package.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/do/dolibarr/package.nix b/pkgs/by-name/do/dolibarr/package.nix index 81660a85cf2f..0f29c24d99cb 100644 --- a/pkgs/by-name/do/dolibarr/package.nix +++ b/pkgs/by-name/do/dolibarr/package.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "dolibarr"; - version = "20.0.0"; + version = "20.0.2"; src = fetchFromGitHub { owner = "Dolibarr"; repo = "dolibarr"; - rev = version; - hash = "sha256-nxytzUEpEo1qeIlpbPQ4mETl5DAAP+d1bqUcYxEW26E="; + tag = version; + hash = "sha256-5OEZpBxTYXhO27ea/GBmJI9uDLRDgMNc9ehQ7mvvSrY="; }; dontBuild = true; @@ -23,12 +23,12 @@ stdenv.mkDerivation rec { find . -type f -name "*.php" -print0 | xargs -0 sed -i 's|/etc/dolibarr|${stateDir}|g' substituteInPlace htdocs/filefunc.inc.php \ - --replace '//$conffile = ' '$conffile = ' \ - --replace '//$conffiletoshow = ' '$conffiletoshow = ' + --replace-fail '//$conffile = ' '$conffile = ' \ + --replace-fail '//$conffiletoshow = ' '$conffiletoshow = ' substituteInPlace htdocs/install/inc.php \ - --replace '//$conffile = ' '$conffile = ' \ - --replace '//$conffiletoshow = ' '$conffiletoshow = ' + --replace-fail '//$conffile = ' '$conffile = ' \ + --replace-fail '//$conffiletoshow = ' '$conffiletoshow = ' ''; installPhase = '' @@ -38,10 +38,11 @@ stdenv.mkDerivation rec { passthru.tests = { inherit (nixosTests) dolibarr; }; - meta = with lib; { + meta = { description = "Enterprise resource planning (ERP) and customer relationship manager (CRM) server"; + changelog = "https://github.com/Dolibarr/dolibarr/releases/tag/${src.tag}"; homepage = "https://dolibarr.org/"; - license = licenses.gpl3Plus; + license = lib.licenses.gpl3Plus; maintainers = [ ]; }; }