tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dislocker: init at 0.6.1
Eric Litak
9 years ago
5d3ace24
ed46b468
+45
3 changed files
expand all
collapse all
unified
split
pkgs
tools
filesystems
dislocker
cmake_dirfix.patch
default.nix
top-level
all-packages.nix
+13
pkgs/tools/filesystems/dislocker/cmake_dirfix.patch
···
1
1
+
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2
2
+
index 365903a..f126ade 100644
3
3
+
--- a/src/CMakeLists.txt
4
4
+
+++ b/src/CMakeLists.txt
5
5
+
@@ -149,7 +149,7 @@ if(NOT DEFINED bindir)
6
6
+
endif()
7
7
+
8
8
+
string (TOLOWER "${CMAKE_SYSTEM_NAME}" SYSNAME)
9
9
+
-set (DIS_MAN ../man/${SYSNAME})
10
10
+
+set (DIS_MAN ${PROJECT_SOURCE_DIR}/man/${SYSNAME})
11
11
+
12
12
+
# RPATH handling
13
13
+
if(POLICY CMP0042)
+30
pkgs/tools/filesystems/dislocker/default.nix
···
1
1
+
{ stdenv, fetchFromGitHub
2
2
+
, cmake
3
3
+
, polarssl , fuse
4
4
+
}:
5
5
+
with stdenv.lib;
6
6
+
let
7
7
+
version = "0.6.1";
8
8
+
in
9
9
+
stdenv.mkDerivation rec {
10
10
+
name = "dislocker-${version}";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "aorimn";
14
14
+
repo = "dislocker";
15
15
+
rev = "v${version}";
16
16
+
sha256 = "1s2pvsf4jgzxk9d9m2ik7v7g81lvj8mhmhh7f53vwy0vmihf9h0d";
17
17
+
};
18
18
+
19
19
+
buildInputs = [ cmake fuse polarssl ];
20
20
+
21
21
+
patches = [ ./cmake_dirfix.patch ];
22
22
+
23
23
+
meta = {
24
24
+
description = "Read BitLocker encrypted partitions in Linux";
25
25
+
homepage = https://github.com/aorimn/dislocker;
26
26
+
license = licenses.gpl2;
27
27
+
maintainers = with maintainers; [ elitak ];
28
28
+
platforms = platforms.linux;
29
29
+
};
30
30
+
}
+2
pkgs/top-level/all-packages.nix
···
735
735
asciidoc = asciidoc-full;
736
736
};
737
737
738
738
+
dislocker = callPackage ../tools/filesystems/dislocker { };
739
739
+
738
740
ditaa = callPackage ../tools/graphics/ditaa { };
739
741
740
742
dlx = callPackage ../misc/emulators/dlx { };