mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
36e1412143
Signed-off-by: Austin Seipp <aseipp@pobox.com>
25 lines
689 B
Nix
25 lines
689 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "musl-${version}";
|
|
version = "1.1.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.musl-libc.org/releases/${name}.tar.gz";
|
|
sha256 = "1kgmi17zpzgjhywmmqxazj8qsx8cf9siwa65jqd2i6rs7jnnb335";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|