about summary refs log tree commit diff
path: root/kittybox.nix
blob: f42884a81784c1a011ba622fb1e28bb41c23f956 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, lib, openssl, zlib, pkg-config, protobuf, naersk-lib, lld, mold }:
naersk-lib.buildPackage {
  pname = "kittybox";
  version = "0.1.0";

  src = ./kittybox-rs;

  checkInputs = [ openssl.dev zlib ];
  nativeBuildInputs = [ pkg-config protobuf ];
  nativeCheckInputs = [ pkg-config ];

  doCheck = stdenv.hostPlatform == stdenv.targetPlatform;

  meta = with lib.meta; {
    maintainers = with lib.maintainers; [ vikanezrimaya ];
    platforms = ["aarch64-linux" "x86_64-linux"];
    mainProgram = "kittybox";
  };
}