Subject: Re: bug#59758: [PATCH] gnu: Add dislocker.

From: phodina <[email-masked]>
Date: Mon, 09 Jan 2023 00:00:47 +0000

Sorry,

my mistake. That one was generated before I did git `commit --amend`.

Here's the correct one.

----
Petr

From 0c4e34470490f4e4e1c3ee9f7239d0ce09fea81a Mon Sep 17 00:00:00 2001
From: Petr Hodina <[email-masked]>
Date: Thu, 13 Jan 2022 13:24:23 +0100
Subject: [PATCH v2] gnu: Add dislocker.

* gnu/packages/linux.scm (dislocker): New variable.

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 568c2b6b92..072d145c23 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2198,6 +2198,30 @@ (define-public ddate
 by Robert Shea and Robert Anton Wilson.")
     (license license:public-domain)))
 
+(define-public dislocker
+  (package
+    (name "dislocker")
+    (version "0.7.3")
+    (home-page "https://github.com/Aorimn/dislocker")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1ak68s1v5dwh8y2dy5zjybmrh0pnqralmyqzis67y21m87g47h2k"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f)) ;no test suite
+    (inputs (list fuse mbedtls-apache))
+    (synopsis "FUSE driver to read/write Windows BitLocker drives")
+    (description
+     "This package provides means to to read BitLocker encrypted
+partitions.  Write functionality is also provided but check the README.")
+    (license license:gpl2+)))
+
 (define-public fbset
   (package
     (name "fbset")
-- 
2.38.1