On 06/23/2014 10:01 PM, Andreas Herrmann wrote: > Dear Florian, > > Thanks for your response. > > On 23 June 2014 17:13, Florian Friesdorf <[email protected]> wrote: >> >> Thx for reporting, I'm working on nixos python test suites and made a >> note to investigate. >> > Good to know. Note, that I don't expect numexpr, or tables to work with > pypy, because they both require cython, and last I checked it didn't play > well with pypy. I might be wrong, though. > > >> The solution looks good to me. However, from a brief look it feels that >> one would want the default hdf5 package to be built with szip and >> zlib. >> >> What do you think? >> > Well, my reason for not including szip by default was it's license. > > Quoting the hdf5-group page [1]: > >> Licensing terms >> The version of Szip distributed with HDF products is free for >> non-commercial use, which may occur in two sets of circumstances: >> Non-commercial users may use the Szip software integrated with HDF >> products to both encode (compress) and decode (uncompress) data. This >> applies to educational and research applications. >> Commercial users may use the software to decode any data. Further, they >> may use the software in internal activities that do not involve or result >> in the development of an Szip-based software product. >> Commercial licenses are available for commercial users who wish to >> distribute an Szip-based software product or engage in commercial uses that >> are not allowed above. For further licensing information or to view a copy >> of the Szip copyright statement, see Commercial use terms and the copyright >> and license notice pertaining to Szip in HDF products. > > So, it's a license that requires some thought to figure out if you're > allowed to use it or not. I thought it would be better not to include it by > default, so that no one breaks the license unknowingly. > > I don't know what the Nix policy generally is, when it comes to licenses. > Basically, I'm returning the question: Is it okay to include this package > by default, or not? > > Best, > > Andreas > > [1]: http://www.hdfgroup.org/doc_resource/SZIP/ >
Some packages use an if expression for license field. For example: license = if hdf5 == null then licenses.unfree else licenses.whatever I don't know whether that's encouraged but it is a way to do it. -- Mateusz K. _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
