nixpkgs/pkgs/tools/filesystems/fatsort/default.nix
2020-08-13 23:29:21 +00:00

27 lines
695 B
Nix

{stdenv, fetchurl, help2man}:
stdenv.mkDerivation rec {
version = "1.6.3.622";
pname = "fatsort";
src = fetchurl {
url = "mirror://sourceforge/fatsort/${pname}-${version}.tar.xz";
sha256 = "1z2nabm38lg56h05yx3jjsndbqxk1zbjcisrczzamypn13m98728";
};
patches = [ ./fatsort-Makefiles.patch ];
buildInputs = [ help2man ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
homepage = "http://fatsort.sourceforge.net/";
description = "Sorts FAT partition table, for devices that don't do sorting of files";
maintainers = [ maintainers.kovirobi ];
license = licenses.gpl2;
inherit version;
platforms = platforms.linux;
};
}