dislocker: init at 0.6.1

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