about summary refs log tree commit diff
path: root/tools/sendsms/default.nix
blob: 6c9b79cfb816cdcd46e18d29888b84b8f9305d1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pkgs, naersk, ... }:

naersk.lib."${pkgs.system}".buildPackage {
  src = builtins.filterSource
    (path: type:
      type != "directory" || builtins.baseNameOf path != "target")
    ./.;

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

  remapPathPrefix = true;
  doCheck = true;
  copyLibs = true;
}