System Gen172 @ 2026-08-01-12:52:15 by jonas@monolith

This commit is contained in:
2026-08-08 00:40:08 +02:00
parent d0c6c7c01b
commit 2e34b07ad9
3 changed files with 267 additions and 0 deletions
@@ -0,0 +1,41 @@
{
lib,
fetchFromGitHub,
rustPlatform,
openssl,
pkg-config,
cacert,
...
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "korrosync";
version = "0.4.0";
src = fetchFromGitHub {
owner = "szaffarano";
repo = "korrosync";
tag = "v${finalAttrs.version}";
hash = "sha256-ubGOQ6JM9wo5428Yf1F1K+nllG9EDQBrBx4yr6PMPG0=";
};
buildInputs = [
openssl
pkg-config
];
nativeBuildInputs = [
pkg-config
];
#cargoHash = "sha256-3oMPREUWwKNEeaf8FdWHdjPMLU5xMSMzxKrmrhU+iko=";
cargoLock.lockFile = "${finalAttrs.src}/Cargo.lock";
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
NIX_SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
meta = {
description = "KOReader Sync Server";
license = lib.licenses.mit;
homepage = "https://github.com/szaffarano/korrosync";
};
})