blob: 2fd35031255e3398b40688d5e83bc05715b367bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ pkgs ? import <nixpkgs> {} }:
with pkgs.stdenv;
with pkgs.lib;
pkgs.rustPlatform.buildRustPackage rec {
name = "joiner-service";
src = pkgs.nix-gitignore.gitignoreSourcePure "target\n" ./.;
cargoSha256 = "sha256:1dyyhy1c6h0cx2qjpvbns9j7zkbq782k6lgnsxjvvxkcki9zirwa";
nativeBuildInputs = with pkgs; [ pkg-config makeWrapper ];
buildInputs = with pkgs; [ openssl ];
}
|