2014-03-24 06:29:30 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "musl-${version}";
|
2014-08-20 08:55:02 +02:00
|
|
|
version = "1.1.4";
|
2014-03-24 06:29:30 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.musl-libc.org/releases/${name}.tar.gz";
|
2014-08-20 08:55:02 +02:00
|
|
|
sha256 = "1kgmi17zpzgjhywmmqxazj8qsx8cf9siwa65jqd2i6rs7jnnb335";
|
2014-03-24 06:29:30 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|