guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 09/10] gnu: Add python-natsort.


From: Leo Famulari
Subject: Re: [PATCH v2 09/10] gnu: Add python-natsort.
Date: Mon, 25 Apr 2016 14:41:41 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

On Sun, Apr 24, 2016 at 11:06:23PM +1000, Ben Woodcroft wrote:
> * gnu/packages/python.scm (python-natsort, python2-natsort): New
> variables.

Thanks!

> +    (synopsis "Sort lists naturally")

How about "Sort lists naturally rather than lexicographically"?

> +(define-public python2-natsort
> +  (let ((base (package-with-python2
> +               (strip-python2-variant python-natsort))))
> +    (package
> +      (inherit base)
> +      (native-inputs
> +       (append (package-native-inputs base)
> +               `(("python2-mock" ,python2-mock)
> +                 ("python2-pathlib" ,python2-pathlib)
> +                 ("python2-enum34" ,python2-enum34)
> +                 ("python2-setuptools" ,python2-setuptools)))))))

Is it possible to use the technique used in 59f151ec54? I think it's
best if all variants of this type are written the same way.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]