System Gen172 @ 2026-08-01-12:52:15 by jonas@monolith
This commit is contained in:
@@ -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";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user