Merge pull request #246058 from antonmosich/qcal

authored by Matthieu Coudron and committed by GitHub 9679fa96 8410441c

+44
+6
maintainers/maintainer-list.nix
··· 1203 1203 githubId = 20933385; 1204 1204 name = "Anton Latukha"; 1205 1205 }; 1206 + antonmosich = { 1207 + email = "anton@mosich.at"; 1208 + github = "antonmosich"; 1209 + githubId = 27223336; 1210 + name = "Anton Mosich"; 1211 + }; 1206 1212 antono = { 1207 1213 email = "self@antono.info"; 1208 1214 github = "antono";
+36
pkgs/tools/networking/qcal/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromSourcehut 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "qcal"; 8 + version = "0.9.1"; 9 + src = fetchFromSourcehut { 10 + owner = "~psic4t"; 11 + repo = "qcal"; 12 + rev = version; 13 + hash = "sha256-Rj806cKCFxWB8X4EiKvyZ5/xACw+VVbo9hv8AJiB0S4="; 14 + }; 15 + vendorHash = "sha256-ntpSj3Ze7n1sMIMojaESi4tQtx+mrA0aiv3+MQetjZI="; 16 + 17 + # Replace "config-sample.json" in error message with the absolute path 18 + # to that config file in the nix store 19 + preBuild = '' 20 + substituteInPlace helpers.go \ 21 + --replace " config-sample.json " " $out/share/config-sample.json " 22 + ''; 23 + 24 + postInstall = '' 25 + mkdir -p $out/share 26 + cp config-sample.json $out/share/ 27 + ''; 28 + 29 + meta = with lib; { 30 + description = "CLI calendar application for CalDAV servers written in Go"; 31 + homepage = "https://git.sr.ht/~psic4t/qcal"; 32 + license = licenses.gpl3; 33 + mainProgram = "qcal"; 34 + maintainers = with maintainers; [ antonmosich ]; 35 + }; 36 + }
+2
pkgs/top-level/all-packages.nix
··· 27055 27055 27056 27056 radicale = radicale3; 27057 27057 27058 + qcal = callPackage ../tools/networking/qcal/default.nix { }; 27059 + 27058 27060 rake = callPackage ../development/tools/build-managers/rake { }; 27059 27061 27060 27062 rakkess = callPackage ../development/tools/rakkess { };