about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/rust/cargo-apk/default.nix
blob: 6bb05552e079490b17807c41e0f56eed78fdee44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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";
    homepage = "https://github.com/rust-windowing/android-ndk-rs";
    license = with licenses;[ mit asl20 ];
    maintainers = with maintainers; [ nickcao ];
  };
}