3
0
Fork 0
forked from mirrors/nixpkgs

matomo-beta: init at 3.12.0-b3

Add a beta version of matomo 3.12 that has recent bug fixes. They release these more frequently so it's a good option to have.
This commit is contained in:
Robert Djubek 2019-09-24 08:08:19 +00:00
parent 6ea626d3e2
commit cb85d27adc
No known key found for this signature in database
GPG key ID: 156C88A5B0A04B2A
2 changed files with 27 additions and 6 deletions

View file

@ -1,12 +1,30 @@
{ stdenv, fetchurl, makeWrapper, php }:
let
versions = {
matomo = {
version = "3.11.0";
sha256 = "1fbnmmzzsi3dfm9qm30wypxjcazl37mryaik9mlrb19hnp2md40q";
};
matomo-beta = {
version = "3.12.0";
beta = 3;
sha256 = "1n7b8cag7rpi6y4145cll2irz3in4668jkiicy06wm5nq6lb4bdf";
};
};
common = pname: {version, sha256, beta ? null}:
let fullVersion = version + stdenv.lib.optionalString (beta != null) "-b${toString beta}";
name = "${pname}-${fullVersion}";
in
stdenv.mkDerivation rec {
pname = "matomo";
version = "3.11.0";
inherit name;
version = fullVersion;
src = fetchurl {
url = "https://builds.matomo.org/matomo-${version}.tar.gz";
sha256 = "1fbnmmzzsi3dfm9qm30wypxjcazl37mryaik9mlrb19hnp2md40q";
inherit sha256;
};
nativeBuildInputs = [ makeWrapper ];
@ -53,6 +71,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
homepage = https://matomo.org/;
platforms = platforms.all;
maintainers = [ maintainers.florianjacob ];
maintainers = with maintainers; [ florianjacob kiwi ];
};
}
};
in stdenv.lib.mapAttrs common versions

View file

@ -15449,7 +15449,9 @@ in
shiori = callPackage ../servers/web-apps/shiori { };
matomo = callPackage ../servers/web-apps/matomo { };
inherit (callPackages ../servers/web-apps/matomo {})
matomo
matomo-beta;
axis2 = callPackage ../servers/http/tomcat/axis2 { };