You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2 KiB

3 years ago
  1. # -*- mode: org; coding: utf-8; -*-
  2. #+TITLE: Creating a really simple package with GNU Guix
  3. #+AUTHOR: Pjotr Prins
  4. * TODO Introduction (WIP)
  5. /Ignore this document for now/
  6. Here we are going to create (pretty much) the most simple package
  7. possible with GNU Guix. We are going do download a jar file and make
  8. it available in the store to run with a (free software) Java JRE.
  9. Note that it is a clear goal of the GNU project and the whole system
  10. is designed around that. Even so, you can still stick in binary blobs
  11. if you want. Main thing is that they need to be available in the
  12. /gnu/store to be seen at build/install time. You can do that if you
  13. really need to.
  14. This way I hope you get a taste for Guix packaging - it is simple -
  15. and continue from here.
  16. https://github.com/timflutre/trimmomatic
  17. guix download http://www.usadellab.org/cms/uploads/supplementary/Trimmomatic/Trimmomatic-0.38.zip
  18. env GUIX_PACKAGE_PATH=../../cwl//hacchy1983-CWL-workflows/ ./pre-inst-env guix build trimmomatic-jar -K
  19. env GUIX_PACKAGE_PATH=../../cwl//hacchy1983-CWL-workflows/ ./pre-inst-env guix package -i trimmomatic-jar -p ~/opt/cwl
  20. java -jar ~/opt/cwl/lib/share/jar/trimmomatic-0.38.jar
  21. ~/opt/cwl/bin/java -jar ~/opt/cwl/lib/share/jar/trimmomatic-0.38.jar