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