nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitHub,
3 gradle,
4 lib,
5 REAndroidLibrary,
6}:
7
8let
9 self = REAndroidLibrary {
10 pname = "jcommand";
11 version = "0-unstable-2025-01-21";
12 projectName = "JCommand";
13
14 src = fetchFromGitHub {
15 owner = "REAndroid";
16 repo = "JCommand";
17 # No tagged releases, and
18 # it is hard to determine the actual commit that APKEditor is intended to use,
19 # so I think we should use the latest commit that doesn't break compilation or basic functionality.
20 # Currently this is the latest commit at the time of packaging.
21 rev = "27d5fd21dc7da268182ea81e59007af890adb06e";
22 hash = "sha256-sbblGrp16rMGGGt7xAFd9F3ACeadYYEymBEL+s5BZ1E=";
23 };
24
25 mitmCache = gradle.fetchDeps {
26 pkg = self;
27 data = ./deps.json;
28 };
29
30 meta.license = lib.licenses.asl20;
31 };
32in
33self