guix-devel
[Top][All Lists]
Advanced

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

Re: [PACKAGE] musl libc


From: ng0
Subject: Re: [PACKAGE] musl libc
Date: Tue, 02 Aug 2016 08:45:27 +0000

Hi,

thanks for the work on this.

Vincent Legoll <address@hidden> writes:

> Hello,
>
> Please, have a look at the attached musl libc packaging.
>
> It may be of use for having smaller statically linked binaries
> of selected packages.
>
> Advise about how to finish the submission process, in which
> scm file should this go ? I did it standalone, but it looks like
> that's not the way things go in guix. Should it go with glibc ?

It can go standalone, I don't see any fitting file at the moment.
'base.scm' maybe, but I would just create gnu/packages/musl.scm and add
the file in 'gnu/local.mk'.

> I'll post a sinit packaging that show how musl can be used.
> The sinit package is a minimalistic /sbin/init replacement.
>
> -- 
> Vincent Legoll
> ;;; GNU Guix --- Functional package management for GNU
> ;;; Copyright <C2><A9> 2016 Vincent Legoll <address@hidden>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> ;;; GNU Guix is free software; you can redistribute it and/or modify it
> ;;; under the terms of the GNU General Public License as published by
> ;;; the Free Software Foundation; either version 3 of the License, or (at
> ;;; your option) any later version.
> ;;;
> ;;; GNU Guix is distributed in the hope that it will be useful, but
> ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
> ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> ;;; GNU General Public License for more details.
> ;;;
> ;;; You should have received a copy of the GNU General Public License
> ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
>
> (define-module (musl)
>   #:use-module (guix download)
>   #:use-module (guix packages)
>   #:use-module (guix build-system gnu)
>   #:use-module (guix licenses)
>   #:use-module (gnu packages))
>
> (define-public musl
>   (package
>     (name "musl")
>     (version "1.1.15")
>     (source (origin
>               (method url-fetch)
>               (uri (string-append "http://www.musl-libc.org/releases/"; name 
> "-"
>                                   version ".tar.gz"))
>               (sha256
>                (base32
>                 "1ymhxkskivzph0q34zadwfglc5gyahqajm7chqqn2zraxv3lgr4p"))))
>     (build-system gnu-build-system)
>     (arguments `(#:tests? #f)) ; Musl has no tests
>
>     (synopsis "New C standard library to power a new generation of Linux-based
> devices")
>     (description "The musl libc is lightweight, fast, simple, free, and 
> strives
> to be correct in the sense of standards-conformance and safety.")
>     (home-page "http://www.musl-libc.org";)
>     (license (x11-style "file://COPYRIGHT"))))
>

-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org



reply via email to

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