diff --git a/pkgs/misc/ntfs-3g/default.nix b/pkgs/misc/ntfs-3g/default.nix new file mode 100644 index 000000000000..95a7e515ac15 --- /dev/null +++ b/pkgs/misc/ntfs-3g/default.nix @@ -0,0 +1,15 @@ +args: with args; +stdenv.mkDerivation { + name = "ntfs3g-1.810"; + src = fetchurl { + url = http://www.ntfs-3g.org/ntfs-3g-1.810.tgz; + sha256 = "14hly6i8b6lh1z54prhml1lf457r0dm8ild0ziqxnnp22s6ydqgy"; + }; + buildInputs = [fuse pkgconfig]; + preConfigure="sed -e 's:/sbin:@sbindir@:' -i src/Makefile.in"; + configureFlags="--enable-shared --disable-static --exec-prefix=\${prefix}"; + + meta = { + description = "FUSE-base ntfs driver with full write support"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1a941d0514c2..b771e4daa757 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3767,6 +3767,10 @@ rec { db4 = db45; }; + ntfs3g = import ../misc/ntfs-3g { + inherit fetchurl stdenv fuse pkgconfig; + }; + pgf = import ../misc/tex/pgf { inherit fetchurl stdenv; };