[Nix-dev] Store nixpkgs licenses as JSON instead of .nix
Arseniy Seroka
ars.seroka at gmail.com
Sat Dec 12 11:52:12 CET 2015
All licenses that we have are here [1].
[1] https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix
2015-12-12 13:42 GMT+03:00 Freddy Rietdijk <freddyrietdijk at fridh.nl>:
> Hi Nixers,
>
> The licenses that are used in nixpkgs are specified in .nix format.
> While it is possible to use builtins.toJSON to convert to JSON on-demand,
> I propose that we store the licenses in JSON format instead, separating the
> data from code.
>
> A practical use case is that I would like to match (using Python) raw
> license information to the licenses we have in nixpkgs. I don't want to
> depend on the user having Nix available (just the nixpkgs repository) to
> convert libraries.nix to JSON.
>
> That is my argumentation. What do you think?
>
> Kind regards,
>
> Freddy Rietdijk
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
--
Sincerely,
Arseniy Seroka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151212/30f0b603/attachment.html
More information about the nix-dev
mailing list