Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 61311665cb0f11c4688fc0013d732d85bbd66fca
      
https://github.com/NixOS/nixpkgs/commit/61311665cb0f11c4688fc0013d732d85bbd66fca
  Author: Profpatsch <[email protected]>
  Date:   2016-11-17 (Thu, 17 Nov 2016)

  Changed paths:
    M lib/default.nix
    A lib/generators.nix
    M lib/tests.nix

  Log Message:
  -----------
  lib: add ini configuration generator

Many configurations are INI-style files. Attribute sets can be mapped
rather painlessly to the INI format.
This adds a function toINI inside a new generators library section.
Also, unit tests for the default values are provided.


  Commit: 26eb10e771c2e7abdfe79d7f3db472af2e56a9fd
      
https://github.com/NixOS/nixpkgs/commit/26eb10e771c2e7abdfe79d7f3db472af2e56a9fd
  Author: Profpatsch <[email protected]>
  Date:   2016-11-17 (Thu, 17 Nov 2016)

  Changed paths:
    M lib/generators.nix
    M lib/tests.nix

  Log Message:
  -----------
  lib: add generator functions for toJSON & toYAML

They both reference the toJSON builtin, so we get semantic identifiers
that express the intent of the generation.
Both should be able to map each nix value (minus functions) to the
destination config files.

Includes two invocation unit tests.


  Commit: 53fc7b8272cf762c57dd3e113863aa99feb35e5d
      
https://github.com/NixOS/nixpkgs/commit/53fc7b8272cf762c57dd3e113863aa99feb35e5d
  Author: Profpatsch <[email protected]>
  Date:   2016-11-17 (Thu, 17 Nov 2016)

  Changed paths:
    M doc/functions.xml
    M lib/generators.nix

  Log Message:
  -----------
  lib/generators: add manual documentation

Restructures the functions reference a bit.


  Commit: 1dd7bb2bb64c34d7c562a2a445cdb640c5ff03dd
      
https://github.com/NixOS/nixpkgs/commit/1dd7bb2bb64c34d7c562a2a445cdb640c5ff03dd
  Author: Domen Kožar <[email protected]>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
    M doc/functions.xml
    M lib/default.nix
    A lib/generators.nix
    M lib/tests.nix

  Log Message:
  -----------
  Merge pull request #20507 from Profpatsch/lib-ini-generator

lib: File generators from Nix Expressions


Compare: https://github.com/NixOS/nixpkgs/compare/065fa2fe661a...1dd7bb2bb64c
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to