dolibarr: 20.0.0 -> 20.0.2 (#366926)

authored by Masum Reza and committed by GitHub ae4cee8a 63d59f32

+11 -10
+11 -10
pkgs/by-name/do/dolibarr/package.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "dolibarr"; 11 - version = "20.0.0"; 11 + version = "20.0.2"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "Dolibarr"; 15 15 repo = "dolibarr"; 16 - rev = version; 17 - hash = "sha256-nxytzUEpEo1qeIlpbPQ4mETl5DAAP+d1bqUcYxEW26E="; 16 + tag = version; 17 + hash = "sha256-5OEZpBxTYXhO27ea/GBmJI9uDLRDgMNc9ehQ7mvvSrY="; 18 18 }; 19 19 20 20 dontBuild = true; ··· 23 23 find . -type f -name "*.php" -print0 | xargs -0 sed -i 's|/etc/dolibarr|${stateDir}|g' 24 24 25 25 substituteInPlace htdocs/filefunc.inc.php \ 26 - --replace '//$conffile = ' '$conffile = ' \ 27 - --replace '//$conffiletoshow = ' '$conffiletoshow = ' 26 + --replace-fail '//$conffile = ' '$conffile = ' \ 27 + --replace-fail '//$conffiletoshow = ' '$conffiletoshow = ' 28 28 29 29 substituteInPlace htdocs/install/inc.php \ 30 - --replace '//$conffile = ' '$conffile = ' \ 31 - --replace '//$conffiletoshow = ' '$conffiletoshow = ' 30 + --replace-fail '//$conffile = ' '$conffile = ' \ 31 + --replace-fail '//$conffiletoshow = ' '$conffiletoshow = ' 32 32 ''; 33 33 34 34 installPhase = '' ··· 38 38 39 39 passthru.tests = { inherit (nixosTests) dolibarr; }; 40 40 41 - meta = with lib; { 41 + meta = { 42 42 description = "Enterprise resource planning (ERP) and customer relationship manager (CRM) server"; 43 + changelog = "https://github.com/Dolibarr/dolibarr/releases/tag/${src.tag}"; 43 44 homepage = "https://dolibarr.org/"; 44 - license = licenses.gpl3Plus; 45 - maintainers = [ ]; 45 + license = lib.licenses.gpl3Plus; 46 + maintainers = with lib.maintainers; [ GaetanLepage ]; 46 47 }; 47 48 }