mobilizon: 5.1.1 -> 5.1.2
Changelog: https://framagit.org/framasoft/mobilizon/-/releases/5.1.2
This commit is contained in:
@@ -7,7 +7,7 @@ index 8338abf8..883e6987 100644
|
||||
use Mix.Project
|
||||
|
||||
- @version "5.1.0"
|
||||
+ @version "5.1.1"
|
||||
+ @version "5.1.2"
|
||||
|
||||
def project do
|
||||
[
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
{ fetchFromGitLab }: rec {
|
||||
{ fetchFromGitLab }:
|
||||
rec {
|
||||
|
||||
pname = "mobilizon";
|
||||
version = "5.1.1";
|
||||
version = "5.1.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "framagit.org";
|
||||
owner = "framasoft";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-zH/F+8rqzlMh0itVBOgDDzAx6n1nJH81lMzaBfjzhXU=";
|
||||
tag = version;
|
||||
sha256 = "sha256-5xHLk5/ogtRN3mfJPP1/gIVlALerT9KEUHjLA2Ou3aM=";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
git,
|
||||
cmake,
|
||||
nixosTests,
|
||||
nixfmt-rfc-style,
|
||||
mobilizon-frontend,
|
||||
...
|
||||
}:
|
||||
@@ -20,9 +21,8 @@ mixRelease rec {
|
||||
inherit (common) pname version src;
|
||||
|
||||
patches = [
|
||||
# Version 5.1.1 failed to bump their internal package version,
|
||||
# Version 5.1.2 failed to bump their internal package version,
|
||||
# which causes issues with static file serving in the NixOS module.
|
||||
# See https://github.com/NixOS/nixpkgs/pull/370277
|
||||
./0001-fix-version.patch
|
||||
# Mobilizon uses chunked Transfer-Encoding for the media proxy but also
|
||||
# sets the Content-Length header. This is a HTTP/1.1 protocol violation
|
||||
@@ -153,11 +153,12 @@ mixRelease rec {
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.smoke-test = nixosTests.mobilizon;
|
||||
tests = { inherit (nixosTests) mobilizon; };
|
||||
updateScript = writeShellScriptBin "update.sh" ''
|
||||
set -eou pipefail
|
||||
|
||||
${mix2nix}/bin/mix2nix '${src}/mix.lock' > pkgs/servers/mobilizon/mix.nix
|
||||
${nixfmt-rfc-style}/bin/nixfmt pkgs/servers/mobilizon/mix.nix
|
||||
'';
|
||||
elixirPackage = beamPackages.elixir;
|
||||
};
|
||||
@@ -165,6 +166,7 @@ mixRelease rec {
|
||||
meta = with lib; {
|
||||
description = "Mobilizon is an online tool to help manage your events, your profiles and your groups";
|
||||
homepage = "https://joinmobilizon.org/";
|
||||
changelog = "https://framagit.org/framasoft/mobilizon/-/releases/${src.tag}";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [
|
||||
minijackson
|
||||
|
||||
Reference in New Issue
Block a user