tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
hubicfuse: add darwin build
midchildan
4 years ago
f85acdfa
dff6460d
+11
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
filesystems
hubicfuse
default.nix
+11
-2
pkgs/tools/filesystems/hubicfuse/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub, pkg-config, curl, openssl, fuse, libxml2, json_c, file }:
1
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
14
+
patches = [
15
15
+
# Fix Darwin build
16
16
+
# https://github.com/TurboGit/hubicfuse/pull/159
17
17
+
(fetchpatch {
18
18
+
url = "https://github.com/TurboGit/hubicfuse/commit/b460f40d86bc281a21379158a7534dfb9f283786.patch";
19
19
+
sha256 = "0nqvcbrgbc5dms8fkz3brlj40yn48p36drabrnc26gvb3hydh5dl";
20
20
+
})
21
21
+
];
22
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
25
-
platforms = platforms.linux;
34
34
+
platforms = platforms.unix;
26
35
license = licenses.mit;
27
36
maintainers = [ maintainers.jpierre03 ];
28
37
};