Skip to content

Commit

Permalink
feat: add a simple nix package derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
SyedAhkam committed Jun 29, 2024
1 parent 1dd07ad commit 497269d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ pkgs ? import <nixpkgs> { } }:
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 ];
}

0 comments on commit 497269d

Please sign in to comment.