fatsort: 1.5.0.456 -> 1.6.2.605

The patch to set PREFIX needed updating to apply. Rewrite it in a way
that allows submitting upstream. That means we don't hardcode
PREFIX=$out inside the patch but allow the PREFIX to be passed to make
at build time.
This commit is contained in:
Bjørn Forsman
2020-05-10 21:40:35 +02:00
parent 5da1393030
commit 66f90b84b8
2 changed files with 30 additions and 25 deletions
+4 -2
View File
@@ -1,18 +1,20 @@
{stdenv, fetchurl, help2man}:
stdenv.mkDerivation rec {
version = "1.5.0.456";
version = "1.6.2.605";
pname = "fatsort";
src = fetchurl {
url = "mirror://sourceforge/fatsort/${pname}-${version}.tar.xz";
sha256 = "15fy2m4p9s8cfvnzdcd5ynkc2js0zklkkf34sjxdac7x2iwb8dd8";
sha256 = "1dzzsl3a1ampari424vxkma0i87qkbgkgm2169x9xf3az0vgmjh8";
};
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";