about summary refs log blame commit diff
path: root/kittybox.nix
blob: ace920319f6258f34fd99014093d07fc2891008a (plain) (tree)
1
2
                                                                        















                                                          
{ stdenv, lib, openssl, zlib, pkg-config, protobuf, naersk, lld, mold }:
naersk.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";
  };
}