1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/libraries/libuv/default.nix

31 lines
828 B
Nix
Raw Normal View History

2015-09-28 17:16:05 +01:00
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, pkgconfig
2015-06-21 08:56:48 +01:00
, ApplicationServices, CoreServices }:
2016-04-25 15:04:22 +01:00
stdenv.mkDerivation rec {
version = "1.9.0";
name = "libuv-${version}";
2016-04-25 15:04:22 +01:00
src = fetchFromGitHub {
owner = "libuv";
repo = "libuv";
rev = "v${version}";
2016-04-25 15:04:22 +01:00
sha256 = "0sq8c8n7xixn2xxp35crprvh35ry18i5mcxgwh12lydwv9ks0d4k";
};
2016-04-25 15:04:22 +01:00
buildInputs = [ automake autoconf libtool pkgconfig ]
++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices CoreServices ];
2016-04-25 15:04:22 +01:00
preConfigure = ''
LIBTOOLIZE=libtoolize ./autogen.sh
'';
2016-04-25 15:04:22 +01:00
meta = with lib; {
description = "A multi-platform support library with a focus on asynchronous I/O";
homepage = https://github.com/libuv/libuv;
maintainers = with maintainers; [ cstrahan ];
platforms = with platforms; linux ++ darwin;
};
2016-04-25 15:04:22 +01:00
}