3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

2 commits

Author SHA1 Message Date
seb314 163f88aff8
matrix-commander: gpl3Only => gpl3Plus & unstable-2021-04-18 -> unstable-2021-05-26 (#125700) 2021-06-05 19:40:16 +02:00
seb314 3f2f7d3296
matrix-commander: init at unstable-2021-04-18 (#119895)
* matrix-commander: init

* matrix-commander: cleanups & potential dep fixes

apply most SuperSandro2000's review comments;

used python3.withPackages -- this might be the correct
way to get runtime python dependencies to work even
when matrix-commander is a dependency of another packages
(as opposed to testing in nix-shell). I'm not sure though.

aiofiles seemed to be a missing runtime dependency when called
from another (nix-packaged, jvm-based) app -- there was an
import error without it.

cacerts might require explicit pinning, as described here:
https://gist.github.com/CMCDragonkai/1ae4f4b5edeb021ca7bb1d271caca999
(relevant snippet: wrapProgram $out/bin/program \
  --set SSL_CERT_FILE "${cacert}/etc/ssl/certs/ca-bundle.crt"
  )

* add runHook {pre,post}Install

(suggested by r-rmcgibbo)

* add link to github issue re gpl3{Only,Plus}

* Update pkgs/applications/networking/instant-messengers/matrix-commander/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-30 10:24:49 +02:00