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-14 00:29:21 +01:00
|
|
|
version = "1.6.3.622";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "fatsort";
|
2015-03-26 22:20:12 +00:00
|
|
|
|
2014-12-17 13:54:13 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/fatsort/${pname}-${version}.tar.xz";
|
2020-08-14 00:29:21 +01:00
|
|
|
sha256 = "1z2nabm38lg56h05yx3jjsndbqxk1zbjcisrczzamypn13m98728";
|
2014-12-17 13:54:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./fatsort-Makefiles.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ help2man ];
|
|
|
|
|
2020-05-10 20:36:32 +01:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01: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 18:50:55 +01:00
|
|
|
platforms = platforms.linux;
|
2014-12-17 13:54:13 +00:00
|
|
|
};
|
|
|
|
}
|