default.nix 785 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. { nixpkgs ? import <nixpkgs>{} }:
  2. with nixpkgs;
  3. stdenv.mkDerivation rec {
  4. name = "open-cookbook";
  5. src = ./.;
  6. buildInputs = [
  7. git
  8. (texlive.combine {
  9. inherit (texlive)
  10. # Basic Packages
  11. scheme-small
  12. # Specifically used
  13. latexmk
  14. booktabs
  15. units
  16. changepage
  17. hyperxmp
  18. doclicense
  19. glossaries
  20. # Un-handled dependencies
  21. ifmtarg
  22. xifthen
  23. xfor
  24. substr
  25. etoolbox
  26. mfirstuc
  27. datatool
  28. textcase
  29. csquotes
  30. ccicons
  31. ;
  32. })
  33. ];
  34. buildPhase = "make";
  35. meta = with lib; {
  36. description = "Open Source Cookbook";
  37. license = licenses.cc-by-sa-40;
  38. author = "Samuel Flint <swflint@flintfam.org>";
  39. };
  40. }