about summary refs log tree commit diff
path: root/pkgs/misc/ntfsprogs/default.nix
blob: 3deb668eddb21289b55f65683f47b5dc4836eecc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchurl, libuuid}:

stdenv.mkDerivation rec {
  name = "ntfsprogs-2.0.0";

  src = fetchurl {
    url = "mirror://sourceforge/linux-ntfs/${name}.tar.bz2";
    sha256 = "ad36e19706c7303b10aa0a9bf2c2dd0309b91cd0171f1c9eb361d94a85017432";
  };

  buildInputs = [libuuid];

  preConfigure =
    ''
      substituteInPlace ntfsprogs/Makefile.in --replace /sbin $out/sbin
    '';

  meta = {
    description = "Utilities for the NTFS filesystem";
    homepage = http://sourceforge.net/projects/linux-ntfs;
    license = "GPL";
  };
}