1 {lib, stdenv, fetchurl, libaal}:
3 stdenv.mkDerivation rec {
4 pname = "reiser4progs";
8 url = "mirror://sourceforge/reiser4/reiser4-utils/${pname}-${version}.tar.gz";
9 sha256 = "sha256-DBR2C5h6ue4aqHmDG50jCLXe13DSWAYwfibrzTM+7Sw=";
12 buildInputs = [libaal];
14 hardeningDisable = [ "format" ];
17 substituteInPlace configure --replace " -static" ""
21 substituteInPlace Makefile --replace ./run-ldconfig true
24 # this required for wipefreespace
27 cp ./libmisc/.libs/libmisc.a $out/lib/libreiser4misc.a.la
32 homepage = "https://sourceforge.net/projects/reiser4/";
33 description = "Reiser4 utilities";
34 license = licenses.gpl2;
35 platforms = platforms.linux;