2021-01-11 07:54:33 +00:00
|
|
|
{lib, stdenv, fetchurl, help2man}:
|
2014-12-17 13:54:13 +00:00
|
|
|
|
2015-03-26 22:20:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-08-13 23:29:21 +00:00
|
|
|
version = "1.6.3.622";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fatsort";
|
2015-03-26 22:20:12 +00:00
|
|
|
|
2014-12-17 13:54:13 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/fatsort/${pname}-${version}.tar.xz";
|
2020-08-13 23:29:21 +00:00
|
|
|
sha256 = "1z2nabm38lg56h05yx3jjsndbqxk1zbjcisrczzamypn13m98728";
|
2014-12-17 13:54:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./fatsort-Makefiles.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ help2man ];
|
|
|
|
|
2020-05-10 19:36:32 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://fatsort.sourceforge.net/";
|
2015-03-28 07:22:26 +00:00
|
|
|
description = "Sorts FAT partition table, for devices that don't do sorting of files";
|
2015-03-26 22:20:12 +00:00
|
|
|
maintainers = [ maintainers.kovirobi ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
inherit version;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.linux;
|
2014-12-17 13:54:13 +00:00
|
|
|
};
|
|
|
|
}
|