nixpkgs/pkgs/tools/filesystems/reiser4progs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
872 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, libaal}:
2015-04-19 00:12:52 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "reiser4progs";
2021-09-14 09:19:13 +00:00
version = "2.0.5";
src = fetchurl {
2019-08-13 21:52:01 +00:00
url = "mirror://sourceforge/reiser4/reiser4-utils/${pname}-${version}.tar.gz";
2021-09-14 09:19:13 +00:00
sha256 = "sha256-DBR2C5h6ue4aqHmDG50jCLXe13DSWAYwfibrzTM+7Sw=";
};
buildInputs = [libaal];
2016-08-04 09:09:27 +00:00
hardeningDisable = [ "format" ];
2015-04-19 00:12:52 +00:00
preConfigure = ''
substituteInPlace configure --replace " -static" ""
'';
preInstall = ''
substituteInPlace Makefile --replace ./run-ldconfig true
'';
# this required for wipefreespace
postInstall = ''
mkdir -p $out/lib
cp ./libmisc/.libs/libmisc.a $out/lib/libreiser4misc.a.la
'';
meta = with lib; {
2015-04-19 00:12:52 +00:00
inherit version;
homepage = "https://sourceforge.net/projects/reiser4/";
description = "Reiser4 utilities";
license = licenses.gpl2;
platforms = platforms.linux;
};
}