From 4f045c3182406a53ebca02e2aae8b79a9dadecfc Mon Sep 17 00:00:00 2001 From: rein Date: Wed, 1 Jan 2025 21:09:53 +0530 Subject: [PATCH 1/2] maintainers: add qxrein --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6ac51d6214de1..d446915faff29 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -18638,6 +18638,12 @@ githubId = 40905037; name = "qwqawawow"; }; + qxrein = { + email = "mnv07@proton.me"; + github = "qxrein"; + githubId = 101001298; + name = "qxrein"; + }; qyliss = { email = "hi@alyssa.is"; github = "alyssais"; From e4e35bba85036729d6a1a8b29081b6c28567da0b Mon Sep 17 00:00:00 2001 From: rein Date: Wed, 1 Jan 2025 22:23:15 +0530 Subject: [PATCH 2/2] pimsync: init at 0.1.0 --- pkgs/by-name/pi/pimsync/package.nix | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/pi/pimsync/package.nix diff --git a/pkgs/by-name/pi/pimsync/package.nix b/pkgs/by-name/pi/pimsync/package.nix new file mode 100644 index 0000000000000..16834e8a6c2b6 --- /dev/null +++ b/pkgs/by-name/pi/pimsync/package.nix @@ -0,0 +1,47 @@ +{ + lib, + rustPlatform, + fetchFromSourcehut, + pkg-config, + sqlite, + scdoc, + makeWrapper, +}: + +rustPlatform.buildRustPackage rec { + pname = "pimsync"; + version = "0.1.0"; + + src = fetchFromSourcehut { + owner = "~whynothugo"; + repo = "pimsync"; + rev = "v${version}"; + hash = "sha256-upOCrpbveSSFrhdHDkTOmja4MLmsgtuoDHMsgXyulWI="; + }; + + cargoHash = "sha256-QRgyHzIjdI8+OzvM+3sfuxTNMVCdGxrMvQpCnot9iUM="; + + nativeBuildInputs = [ + pkg-config + scdoc + makeWrapper + ]; + + buildInputs = [ + sqlite + ]; + + makeFlags = [ + "build" + "PREFIX=${placeholder "out"}" + ]; + + meta = { + description = "Synchronise calendars and contacts"; + homepage = "https://git.sr.ht/~whynothugo/pimsync"; + license = lib.licenses.eupl12; + platforms = lib.platforms.unix; + maintainers = [ lib.maintainers.qxrein ]; + mainProgram = "pimsync"; + }; +}