From 91231156ce321058d82e6272135a4457e004f438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 18 May 2016 21:59:38 +0200 Subject: [PATCH] gnu: Add ntfs-3g. * gnu/packages/linux.scm (ntfs-3g): New variable. --- gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 97514c7b8e..ba8dce09e7 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2671,3 +2671,38 @@ (define-public thinkfan other @code{hwmon} driver that enables temperature reading and fan control from userspace.") (license license:gpl3+))) + +(define-public ntfs-3g + (package + (name "ntfs-3g") + (version "2016.2.22") + (source (origin + (method url-fetch) + (uri (string-append "https://tuxera.com/opensource/" + "ntfs-3g_ntfsprogs-" version ".tgz")) + (sha256 + (base32 + "180y5y09h30ryf2vim8j30a2npwz1iv9ly5yjmh3wjdkwh2jrdyp")) + (modules '((guix build utils))) + (snippet + ;; Install under $prefix. + '(substitute* '("src/Makefile.in" "ntfsprogs/Makefile.in") + (("/sbin") + "@sbindir@"))))) + (build-system gnu-build-system) + (inputs `(("util-linux" ,util-linux) + ("fuse" ,fuse))) ;libuuid + (native-inputs `(("pkg-config" ,pkg-config))) + (arguments + '(#:configure-flags (list "--exec-prefix=${prefix}" + "--with-fuse=external" ;use our own FUSE + "--enable-mount-helper" + "--enable-posix-acls" + "--enable-xattr-mappings"))) + (home-page "http://www.tuxera.com/community/open-source-ntfs-3g/") + (synopsis "Read-write access to NTFS file systems") + (description + "NTFS-3G provides read-write access to NTFS file systems, which are +commonly found on Microsoft Windows. It is implemented as a FUSE file system. +The package provides additional NTFS tools.") + (license license:gpl2+)))