2014-03-24 05:29:30 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "musl-${version}";
|
2015-03-18 00:55:23 +00:00
|
|
|
version = "1.1.6";
|
2014-03-24 05:29:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.musl-libc.org/releases/${name}.tar.gz";
|
2015-03-18 00:55:23 +00:00
|
|
|
sha256 = "1d7inhai37g1ph6yg7ldyl4k5c7i8xvaa5w62n85n3albk2n00as";
|
2014-03-24 05:29:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
configurePhase = ''
|
|
|
|
./configure --enable-shared --enable-static --prefix=$out --syslibdir=$out/lib
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An efficient, small, quality libc implementation";
|
|
|
|
homepage = "http://www.musl-libc.org";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|