depot/pkgs/development/tools/rust/cargo-apk/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 lines
583 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-apk";
version = "0.9.6";
src = fetchCrate {
inherit pname version;
hash = "sha256-1vCrM+0SNefd7FrRXnSjLhM3/MSVJfcL4k1qAstX+/A=";
};
cargoHash = "sha256-rGn3MKbqIRWayarsgedIOhuTTl8lyRsRxn7BN5Id97w=";
meta = with lib; {
description = "Tool for creating Android packages";
mainProgram = "cargo-apk";
homepage = "https://github.com/rust-windowing/android-ndk-rs";
license = with licenses;[ mit asl20 ];
maintainers = with maintainers; [ nickcao ];
};
}