diff options
Diffstat (limited to 'service-person/default.nix')
-rw-r--r-- | service-person/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/service-person/default.nix b/service-person/default.nix new file mode 100644 index 0000000..8c04149 --- /dev/null +++ b/service-person/default.nix @@ -0,0 +1,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 ]; +} |