2008-02-04 15:37:15 +01:00
|
|
|
{stdenv, fetchurl, libaal}:
|
|
|
|
|
2018-02-27 22:09:58 +01:00
|
|
|
let version = "1.2.1"; in
|
2015-04-19 02:12:52 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "reiser4progs-${version}";
|
2008-02-04 15:37:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-04-19 02:12:52 +02:00
|
|
|
url = "mirror://sourceforge/reiser4/reiser4-utils/${name}.tar.gz";
|
2018-02-27 22:09:58 +01:00
|
|
|
sha256 = "03vdqvpyd48wxrpqpb9kg76giaffw9b8k334kr4wc0zxgybknhl7";
|
2008-02-04 15:37:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libaal];
|
|
|
|
|
2016-08-04 11:09:27 +02:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2015-04-19 02:12:52 +02:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace configure --replace " -static" ""
|
|
|
|
'';
|
|
|
|
|
2008-02-04 15:37:15 +01:00
|
|
|
preInstall = ''
|
|
|
|
substituteInPlace Makefile --replace ./run-ldconfig true
|
|
|
|
'';
|
|
|
|
|
2018-09-07 22:32:12 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-04-19 02:12:52 +02:00
|
|
|
inherit version;
|
2018-09-07 22:32:12 +02:00
|
|
|
homepage = https://sourceforge.net/projects/reiser4/;
|
2008-02-04 15:37:15 +01:00
|
|
|
description = "Reiser4 utilities";
|
2018-09-07 22:32:12 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2008-02-04 15:37:15 +01:00
|
|
|
};
|
|
|
|
}
|