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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user