diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..aee2351 --- /dev/null +++ b/default.nix @@ -0,0 +1,11 @@ +{ pkgs ? import { } }: +pkgs.rustPlatform.buildRustPackage rec { + pname = "android-cli"; + version = "0.2"; + cargoLock.lockFile = ./Cargo.lock; + src = pkgs.lib.cleanSource ./.; + + OPENSSL_NO_VENDOR = 1; + nativeBuildInputs = with pkgs; [pkg-config]; + buildInputs = with pkgs; [ openssl ]; +} \ No newline at end of file