nixpkgs/pkgs/servers/mobilizon/common.nix
2023-11-07 16:29:40 +00:00

26 lines
861 B
Nix

{ fetchFromGitLab, applyPatches, fetchpatch }: rec {
pname = "mobilizon";
version = "3.2.0";
src = applyPatches {
src = fetchFromGitLab {
domain = "framagit.org";
owner = "framasoft";
repo = pname;
rev = version;
sha256 = "sha256-zgHR0taMMMwAoJEJr5s1rmSwJh31+qAfPQW9DSDuC8A=";
};
patches = [
# See https://framagit.org/framasoft/mobilizon/-/merge_requests/1452
(fetchpatch {
url = "https://framagit.org/framasoft/mobilizon/-/commit/856d236b141c96705e1211e780e3f0e8950bb48e.patch";
sha256 = "sha256-uEPvoTPVWHdg/KPWMG/Ck2qUjC+EUO3hyZnzpFxuoL0=";
})
(fetchpatch {
url = "https://framagit.org/framasoft/mobilizon/-/commit/3936eb4cc5125b838b73adc7e49ca6ce3b2f73ce.patch";
sha256 = "sha256-Srq691J1DbG3d26AKYZxkiMg0DfM33o3AllZpCjG2PQ=";
})
];
};
}