mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
327edb4b1d
Looks CoreFoundation related. Undefined symbols for architecture x86_64: "_CFURLResourceIsReachable", referenced from: fsevent_sys::core_foundation::str_path_to_cfstring_ref::h0ea4bd94e2c613f2 in libfsevent_sys-ef30b6879660a6c1.rlib(fsevent_sys-ef30b6879660a6c1.fsevent_sys7-49ce33334334dd3a5c7883bf4070f954.rs.rcgu.o) ld: symbol(s) not found for architecture x86_64 /cc ZHF #45961
30 lines
885 B
Nix
30 lines
885 B
Nix
{ stdenv, fetchFromGitHub, openssl, pkgconfig, rustPlatform
|
|
, CoreServices, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
name = "cargo-web-${version}";
|
|
version = "0.6.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "koute";
|
|
repo = "cargo-web";
|
|
rev = version;
|
|
sha256 = "076g7cd9v53vi8xvd4kfsiyzw1m2hhd1lwlwcv2dx2s5vlw4dxzh";
|
|
};
|
|
|
|
cargoSha256 = "157av9zkirr00w9v11mh7yp8w36sy7rw6i80i5jmi0mgrdvcg5si";
|
|
|
|
nativeBuildInputs = [ openssl pkgconfig ];
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A Cargo subcommand for the client-side Web";
|
|
homepage = https://github.com/koute/cargo-web;
|
|
license = with licenses; [asl20 /* or */ mit];
|
|
maintainers = [ maintainers.kevincox ];
|
|
broken = stdenv.isDarwin; # test with CoreFoundation 10.11
|
|
platforms = platforms.all;
|
|
};
|
|
}
|