summaryrefslogtreecommitdiffstats
path: root/service-person/default.nix
blob: 8c04149fc9bf7fee4d8e3241829bbe85c897df11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs ? import <nixpkgs> {}
, personApiTypes ? (import ../person-api-types {})
}:

with pkgs.stdenv;
with pkgs.lib;

pkgs.rustPlatform.buildRustPackage rec {
  name = "person-service";
  src  = pkgs.nix-gitignore.gitignoreSourcePure "target\n" ./.;

  buildType = "debug";

  cargoSha256 = "sha256:01am3yr99gg0lajdha0s9pijqwblgwggqi94mg7d3wz7vfhj8c31";

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