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

31 lines
677 B
Nix
Raw Normal View History

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