Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
951 B
Nix
39 lines
951 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
openssl,
|
|
rustPlatform,
|
|
stdenv,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "taskchampion-sync-server";
|
|
version = "0.7.0";
|
|
src = fetchFromGitHub {
|
|
owner = "GothenburgBitFactory";
|
|
repo = "taskchampion-sync-server";
|
|
tag = "v${version}";
|
|
hash = "sha256-DNGugytc4dMjj8je4BpEjNjdrnTBnWc1MNeMqcdTr4s=";
|
|
};
|
|
|
|
cargoHash = "sha256-A0alSDqsqlAL0XW0rJ35rYcoyx2ndX/Xft9Qff/rr9I=";
|
|
|
|
env = {
|
|
# Use system openssl.
|
|
OPENSSL_DIR = lib.getDev openssl;
|
|
OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";
|
|
OPENSSL_NO_VENDOR = 1;
|
|
};
|
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
|
|
openssl
|
|
];
|
|
|
|
meta = {
|
|
description = "Sync server for Taskwarrior 3";
|
|
license = lib.licenses.mit;
|
|
homepage = "https://github.com/GothenburgBitFactory/taskchampion-sync-server";
|
|
maintainers = with lib.maintainers; [ mlaradji ];
|
|
mainProgram = "taskchampion-sync-server";
|
|
};
|
|
}
|