Hello,

I am trying to package adb-sync [0], which is essentially a Python
script.  I can easily write a default.nix taking this script from the
source directory and putting it into $out/bin (cf. attached file).  I
have some trouble with this approach though: the _runtime_ dependencies
(Python and Android SDK) are not installed.

What would be the Nix-ish way of handling such a situation?

I tried playing with buildInputs, but, of course, this doesn't really
help with runtime dependencies.

I would like to avoid creating a pip package if possible (to avoid extra
maintenance effort).

-- 
Sergiu

[0] https://github.com/google/adb-sync

Attachment: default.nix
Description: Binary data

Attachment: signature.asc
Description: PGP signature

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to