Merge pull request #214122 from MGlolenstine/cargo-ndk
cargo-ndk: init at 2.12.6
This commit is contained in:
commit
b2e3a85446
28
pkgs/development/tools/rust/cargo-ndk/default.nix
Normal file
28
pkgs/development/tools/rust/cargo-ndk/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -15793,6 +15793,9 @@ with pkgs;
|
|||||||
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
|
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cargo-ndk = callPackage ../development/tools/rust/cargo-ndk { };
|
||||||
|
|
||||||
cargo-nextest = callPackage ../development/tools/rust/cargo-nextest {
|
cargo-nextest = callPackage ../development/tools/rust/cargo-nextest {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user