2021-01-15 01:19:50 -08:00
|
|
|
{ lib, stdenv, fetchurl, libuuid, autoreconfHook }:
|
2007-09-03 05:10:57 -07:00
|
|
|
|
2015-04-18 12:37:40 -07:00
|
|
|
let version = "3.6.24"; in
|
2010-07-07 07:23:30 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 14:52:01 -07:00
|
|
|
pname = "reiserfsprogs";
|
|
|
|
inherit version;
|
2007-09-03 05:10:57 -07:00
|
|
|
|
2008-02-04 06:37:15 -08:00
|
|
|
src = fetchurl {
|
2019-08-13 14:52:01 -07:00
|
|
|
url = "https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${version}/${pname}-${version}.tar.xz";
|
2015-04-18 12:37:40 -07:00
|
|
|
sha256 = "0q07df9wxxih8714a3mdp61h5n347l7j2a0l351acs3xapzgwi3y";
|
2008-02-04 06:37:15 -08:00
|
|
|
};
|
2007-09-03 05:10:57 -07:00
|
|
|
|
2018-11-27 13:13:19 -08:00
|
|
|
patches = [ ./reiserfsprogs-ar-fix.patch ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2010-07-07 07:23:30 -07:00
|
|
|
buildInputs = [ libuuid ];
|
|
|
|
|
2020-02-10 00:45:49 -08:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-std=gnu90" "-D_GNU_SOURCE" ];
|
2015-06-27 15:34:35 -07:00
|
|
|
|
2008-02-04 06:37:15 -08:00
|
|
|
meta = {
|
2015-04-18 12:37:40 -07:00
|
|
|
inherit version;
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.namesys.com/";
|
2010-07-07 07:23:30 -07:00
|
|
|
description = "ReiserFS utilities";
|
2021-01-15 01:19:50 -08:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2008-02-04 06:37:15 -08:00
|
|
|
};
|
2007-09-03 05:10:57 -07:00
|
|
|
}
|