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