1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/tools/filesystems/exfat-utils/default.nix
Tobias Geerinckx-Rice 158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00

35 lines
885 B
Nix

{ stdenv, fetchurl, scons }:
let version = "1.1.1"; in
stdenv.mkDerivation rec {
name = "exfat-utils-${version}";
src = fetchurl {
sha256 = "0ck2snhlhp965bb9a4y1g2lpl979sw1yznm79wbavyv174458i66";
url = "https://docs.google.com/uc?export=download&id=0B7CLI-REKbE3UzNtSkRvdHBpdjQ";
name = "${name}.tar.gz";
};
meta = with stdenv.lib; {
description = "Free exFAT file system utilities";
longDescription = ''
Full-featured exFAT file system implementation for GNU/Linux and other
Unix-like systems.
'';
homepage = https://code.google.com/p/exfat;
license = licenses.gpl2Plus;
platforms = with platforms; linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ scons ];
buildPhase = ''
export CCFLAGS="-std=c99"
mkdir -pv $out/sbin
scons DESTDIR=$out/sbin install
'';
installPhase = ":";
}