2020-01-14 23:32:09 +01:00
|
|
|
{ stdenv, fetchurl, fetchpatch, libuuid, autoreconfHook }:
|
2009-10-08 15:07:56 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-01-06 16:47:43 +01:00
|
|
|
name = "jfsutils-1.1.15";
|
2009-10-08 15:07:56 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://jfs.sourceforge.net/project/pub/${name}.tar.gz";
|
2017-02-25 00:28:47 +01:00
|
|
|
sha256 = "0kbsy2sk1jv4m82rxyl25gwrlkzvl3hzdga9gshkxkhm83v1aji4";
|
2009-10-08 15:07:56 +02:00
|
|
|
};
|
|
|
|
|
2018-11-27 22:16:59 +01:00
|
|
|
patches = [
|
|
|
|
./types.patch
|
|
|
|
./hardening-format.patch
|
|
|
|
# required for cross-compilation
|
|
|
|
./ar-fix.patch
|
2020-01-14 23:32:09 +01:00
|
|
|
# fix for glibc>=2.28
|
|
|
|
(fetchpatch {
|
|
|
|
name = "add_sysmacros.patch";
|
|
|
|
url = "https://sources.debian.org/data/main/j/jfsutils/1.1.15-4/debian/patches/add_sysmacros.patch";
|
|
|
|
sha256 = "1qcwvxs4d0d24w5x98z59arqfx2n7f0d9xaqhjcg6w8n34vkhnyc";
|
|
|
|
})
|
2018-11-27 22:16:59 +01:00
|
|
|
];
|
2013-01-28 14:00:07 +01:00
|
|
|
|
2018-11-27 22:16:59 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2009-10-08 15:07:56 +02:00
|
|
|
buildInputs = [ libuuid ];
|
|
|
|
|
2018-09-07 22:22:13 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-10-08 15:07:56 +02:00
|
|
|
description = "IBM JFS utilities";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://jfs.sourceforge.net";
|
2018-09-07 22:22:13 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2009-10-08 15:07:56 +02:00
|
|
|
};
|
|
|
|
}
|