mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
28 lines
585 B
Nix
28 lines
585 B
Nix
{ pkgs }:
|
|
|
|
let
|
|
|
|
osx =
|
|
with pkgs;
|
|
lib.optionals stdenv.isDarwin (
|
|
with darwin.apple_sdk.frameworks;
|
|
[ Cocoa CoreServices ]);
|
|
|
|
in
|
|
|
|
pkgs.stdenv.mkDerivation rec {
|
|
name = "uv-64294";
|
|
buildInputs = osx ++ (with pkgs; [ autoconf automake libtool m4 ]);
|
|
builder = ./builder.sh;
|
|
|
|
CFLAGS = "-fPIC";
|
|
configureFlags = [ "--disable-shared" ];
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "urbit";
|
|
repo = "libuv";
|
|
rev = "6429495dc9a80aaf1c243038b381451f12bc7dcf";
|
|
sha256 = "07m2m4v9mds0wihzjxjwswwfj3rnk2ycr3vgwfcrvnb5xjz7rs15";
|
|
};
|
|
}
|