Skip to content
osbmPublic

About

Build android applications with nix [maintainer=@osbm]

Topics

Resources

Stars

12 stars

Watchers

1 watching

Forks

Latest commit

 

History

220 Commits

Folders and files

Repository files navigation

Nixapks

A repository of derivations that builds as much open source android applications as possible.

$ nix build --print-out-paths github:osbm/nixapks#smouldering_durtles
/nix/store/z796iq87azckb8nsajpv43g7ybadq47s-smouldering_durtles-1.2.3.apk

Builder tally

This repository deliberately keeps several builder methods alive to compare them on ease of adding apps, ease of updating, breakage rate and readability.

Builder Dependency locking Apps Examples
buildGradleApkCentralizedLock gradle-dot-nix, shared lib/maven-lock.json 3 fossify-clock, fossify-keyboard, fossify-paint
buildGradleApkGradleDotNix gradle-dot-nix, per-app verification-metadata.xml 2 mihon, fossify-voice-recorder
buildGradleApkGradle2Nix gradle2nix, per-app gradle.lock 3 fossify-thankyou, aegis, fossify-phone
hand-rolled mkDerivation (legacy) gradle-dot-nix called directly, per-app verification-metadata.xml 4 ankidroid, fossify-calculator, fossify-notes, smouldering_durtles
hand-rolled React Native / Expo (no builder yet) pnpm fetchPnpmDeps + gradle-dot-nix (per-app verification-metadata.xml, expo local maven repos), React Native and Hermes from source 1 bluesky

Notes

Successful nix apk builds:

Important tools:

License

All the nix derivations in this repository are licensed under the MIT license. See the LICENSE file for details.

This license does not apply to the android applications built using these derivations. Please refer to the respective application's source code repository for licensing information.

About

Build android applications with nix [maintainer=@osbm]

Topics

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages