Skip to content

Commit

Permalink
pimsync: init at 0.1.0 (#369933)
Browse files Browse the repository at this point in the history
  • Loading branch information
teto authored Jan 1, 2025
2 parents c74c7df + e4e35bb commit 3da007f
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18644,6 +18644,12 @@
githubId = 40905037;
name = "qwqawawow";
};
qxrein = {
email = "[email protected]";
github = "qxrein";
githubId = 101001298;
name = "qxrein";
};
qyliss = {
email = "[email protected]";
github = "alyssais";
Expand Down
47 changes: 47 additions & 0 deletions pkgs/by-name/pi/pimsync/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit 3da007f

Please sign in to comment.