tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
dislocker: add darwin build
midchildan
4 years ago
31a3099d
a7540bb9
+17
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
filesystems
dislocker
default.nix
+17
-2
pkgs/tools/filesystems/dislocker/default.nix
···
1
1
{ lib, stdenv
2
2
, fetchFromGitHub
3
3
+
, fetchpatch
3
4
, cmake
5
5
+
, pkg-config
4
6
, mbedtls
5
7
, fuse
6
8
}:
···
17
19
sha256 = "1ak68s1v5dwh8y2dy5zjybmrh0pnqralmyqzis67y21m87g47h2k";
18
20
};
19
21
20
20
-
nativeBuildInputs = [ cmake ];
22
22
+
patches = [
23
23
+
# This patch
24
24
+
# 1. adds support for the latest FUSE on macOS
25
25
+
# 2. uses pkg-config to find libfuse instead of searching in predetermined
26
26
+
# paths
27
27
+
#
28
28
+
# https://github.com/Aorimn/dislocker/pull/246
29
29
+
(fetchpatch {
30
30
+
url = "https://github.com/Aorimn/dislocker/commit/7744f87c75fcfeeb414d0957771042b10fb64e62.diff";
31
31
+
sha256 = "0bpyccbbfjsidsrd2q9qylb95nvi8g3glb3jss7xmhywj86bhzr5";
32
32
+
})
33
33
+
];
34
34
+
35
35
+
nativeBuildInputs = [ cmake pkg-config ];
21
36
buildInputs = [ fuse mbedtls ];
22
37
23
38
meta = with lib; {
···
25
40
homepage = "https://github.com/aorimn/dislocker";
26
41
license = licenses.gpl2;
27
42
maintainers = with maintainers; [ elitak ];
28
28
-
platforms = platforms.linux;
43
43
+
platforms = platforms.unix;
29
44
};
30
45
}