Merge pull request #214122 from MGlolenstine/cargo-ndk

cargo-ndk: init at 2.12.6
This commit is contained in:
Nick Cao 2023-02-03 17:07:39 +08:00 committed by GitHub
commit b2e3a85446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-ndk";
version = "2.12.6";
src = fetchFromGitHub {
owner = "bbqsrc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-VGdFIMyZhb7SDWAXgs7kFlblYCO4rLf+3/N7Mashc4o=";
};
cargoHash = "sha256-pv6t9oKj5tdQjpvBgj/Y11uKJIaIWcaA9ib/Id/s+qs=";
meta = with lib; {
description = "Cargo extension for building Android NDK projects";
homepage = "https://github.com/bbqsrc/cargo-ndk";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ mglolenstine ];
platforms = platforms.linux;
};
}

View File

@ -15793,6 +15793,9 @@ with pkgs;
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-ndk = callPackage ../development/tools/rust/cargo-ndk { };
cargo-nextest = callPackage ../development/tools/rust/cargo-nextest {
inherit (darwin.apple_sdk.frameworks) Security;
};