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:
parent
6ea626d3e2
commit
cb85d27adc
|
@ -1,12 +1,30 @@
|
||||||
{ stdenv, fetchurl, makeWrapper, php }:
|
{ 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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "matomo";
|
inherit name;
|
||||||
version = "3.11.0";
|
version = fullVersion;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://builds.matomo.org/matomo-${version}.tar.gz";
|
url = "https://builds.matomo.org/matomo-${version}.tar.gz";
|
||||||
sha256 = "1fbnmmzzsi3dfm9qm30wypxjcazl37mryaik9mlrb19hnp2md40q";
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -53,6 +71,7 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
homepage = https://matomo.org/;
|
homepage = https://matomo.org/;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = [ maintainers.florianjacob ];
|
maintainers = with maintainers; [ florianjacob kiwi ];
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
in stdenv.lib.mapAttrs common versions
|
||||||
|
|
|
@ -15449,7 +15449,9 @@ in
|
||||||
|
|
||||||
shiori = callPackage ../servers/web-apps/shiori { };
|
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 { };
|
axis2 = callPackage ../servers/http/tomcat/axis2 { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue