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

31 lines
677 B
Nix
Raw Normal View History

{stdenv, fetchurl, libaal}:
2015-08-31 19:07:16 +01:00
let version = "1.1.0"; in
2015-04-19 01:12:52 +01:00
stdenv.mkDerivation rec {
name = "reiser4progs-${version}";
src = fetchurl {
2015-04-19 01:12:52 +01:00
url = "mirror://sourceforge/reiser4/reiser4-utils/${name}.tar.gz";
2015-08-31 19:07:16 +01:00
sha256 = "18bgv0wd75q53642x5dsk4g0mil1hw1zrp7a4xkb0pxx4bzjlbqg";
};
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" ""
'';
preInstall = ''
substituteInPlace Makefile --replace ./run-ldconfig true
'';
meta = {
2015-04-19 01:12:52 +01:00
inherit version;
homepage = http://www.namesys.com/;
description = "Reiser4 utilities";
platforms = stdenv.lib.platforms.linux;
};
}