summaryrefslogtreecommitdiffstats
path: root/service-world/default.nix
blob: a130d7ee403a54db97d7f4499bb027fd36a34ab9 (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 = "world-service";
  src  = pkgs.nix-gitignore.gitignoreSourcePure "target\n" ./.;

  cargoSha256 = "sha256:01fkr5gd0hagbmfn358hk4ap6iiz63nsg8758fi4p3inbcfndfmp";

  nativeBuildInputs = with pkgs; [ pkg-config makeWrapper ];
  buildInputs       = with pkgs; [ openssl ];
}