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

with pkgs.stdenv;
with pkgs.lib;

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

  buildType = "debug";

  cargoSha256 = "sha256:1j4x994iybxsscwv2xm57w9my10v4bap6jw2krbfwsq153pd5dy7";

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