Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

hubicfuse: add darwin build

+11 -2
+11 -2
pkgs/tools/filesystems/hubicfuse/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl, fuse, libxml2, json_c, file }: 2 3 stdenv.mkDerivation rec { 4 pname = "hubicfuse"; ··· 11 sha256 = "1x988hfffxgvqxh083pv3lj5031fz03sbgiiwrjpaiywfbhm8ffr"; 12 }; 13 14 nativeBuildInputs = [ pkg-config ]; 15 buildInputs = [ curl openssl fuse libxml2 json_c file ]; 16 postInstall = '' ··· 22 meta = with lib; { 23 homepage = "https://github.com/TurboGit/hubicfuse"; 24 description = "FUSE-based filesystem to access hubic cloud storage"; 25 - platforms = platforms.linux; 26 license = licenses.mit; 27 maintainers = [ maintainers.jpierre03 ]; 28 };
··· 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, curl, openssl, fuse, libxml2, json_c, file }: 2 3 stdenv.mkDerivation rec { 4 pname = "hubicfuse"; ··· 11 sha256 = "1x988hfffxgvqxh083pv3lj5031fz03sbgiiwrjpaiywfbhm8ffr"; 12 }; 13 14 + patches = [ 15 + # Fix Darwin build 16 + # https://github.com/TurboGit/hubicfuse/pull/159 17 + (fetchpatch { 18 + url = "https://github.com/TurboGit/hubicfuse/commit/b460f40d86bc281a21379158a7534dfb9f283786.patch"; 19 + sha256 = "0nqvcbrgbc5dms8fkz3brlj40yn48p36drabrnc26gvb3hydh5dl"; 20 + }) 21 + ]; 22 + 23 nativeBuildInputs = [ pkg-config ]; 24 buildInputs = [ curl openssl fuse libxml2 json_c file ]; 25 postInstall = '' ··· 31 meta = with lib; { 32 homepage = "https://github.com/TurboGit/hubicfuse"; 33 description = "FUSE-based filesystem to access hubic cloud storage"; 34 + platforms = platforms.unix; 35 license = licenses.mit; 36 maintainers = [ maintainers.jpierre03 ]; 37 };