[Nix-dev] Re: ZeroMQ package.

Arthur Smyles arthur at smyles.com
Tue May 31 23:44:42 CEST 2011


Updated patch.

Arthur

On 5/31/11 3:26 PM, Yury G. Kudryashov wrote:
> Arthur Smyles wrote:
>
>> I created a Nix expression for installing zeromq. See attached
> See a few comments below.
>>   +       version = "2.1.7";
>>   +       name = "zeromq";
> This results in /nix/store/HASH-zeromq instead of /nix/store/HASH-
> zeromq-2.1.7.
>
> You should use something like:
> version = "2.1.7";
> pname = "zeromq";
> name = "${pname}-${version}";
>
> Or just
> name = "zeromq-2.1.7";
> since you don't need ${version} without ${name}.
>>   +               license = "lgpl3";
> Try using stdenv.lib.licenses.
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zeromq.patch
Url: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110531/016b7cb9/attachment.pl 


More information about the nix-dev mailing list