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 }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, curl, openssl, fuse, libxml2, json_c, file }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hubicfuse"; ··· 11 11 sha256 = "1x988hfffxgvqxh083pv3lj5031fz03sbgiiwrjpaiywfbhm8ffr"; 12 12 }; 13 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 + 14 23 nativeBuildInputs = [ pkg-config ]; 15 24 buildInputs = [ curl openssl fuse libxml2 json_c file ]; 16 25 postInstall = '' ··· 22 31 meta = with lib; { 23 32 homepage = "https://github.com/TurboGit/hubicfuse"; 24 33 description = "FUSE-based filesystem to access hubic cloud storage"; 25 - platforms = platforms.linux; 34 + platforms = platforms.unix; 26 35 license = licenses.mit; 27 36 maintainers = [ maintainers.jpierre03 ]; 28 37 };