ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
25 lines
596 B
Nix
25 lines
596 B
Nix
{ lib
|
|
, stdenv
|
|
, rustPlatform
|
|
, fetchCrate
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-apk";
|
|
version = "0.9.6";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-1vCrM+0SNefd7FrRXnSjLhM3/MSVJfcL4k1qAstX+/A=";
|
|
};
|
|
|
|
cargoSha256 = "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 ];
|
|
};
|
|
}
|