31 lines
434 B
Nix
31 lines
434 B
Nix
{ makeRustPlatform
|
|
, cargo
|
|
, rustc
|
|
|
|
# Runtime Deps
|
|
, sqlite
|
|
|
|
# Build Deps
|
|
, openssl
|
|
, pkg-config
|
|
}:
|
|
|
|
let rustPlatform = makeRustPlatform { inherit cargo rustc; };
|
|
in rustPlatform.buildRustPackage {
|
|
pname = "nyazoom";
|
|
version = "0.1.0";
|
|
|
|
src = ./.;
|
|
|
|
cargoHash = "sha256-lBMe1TvkTJgN+q/9o7KId6w3CSxGl94Zcz7nxDqu9N0=";
|
|
|
|
nativeBuildInputs = [
|
|
openssl
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
sqlite
|
|
];
|
|
}
|