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

27 lines
742 B
Nix
Raw Normal View History

2018-11-27 21:13:19 +00:00
{ stdenv, fetchurl, libuuid, autoreconfHook }:
2015-04-18 20:37:40 +01:00
let version = "3.6.24"; in
stdenv.mkDerivation rec {
2019-08-13 22:52:01 +01:00
pname = "reiserfsprogs";
inherit version;
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";
};
2018-11-27 21:13:19 +00:00
patches = [ ./reiserfsprogs-ar-fix.patch ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libuuid ];
NIX_CFLAGS_COMPILE = [ "-std=gnu90" "-D_GNU_SOURCE" ];
2015-06-27 23:34:35 +01:00
meta = {
2015-04-18 20:37:40 +01:00
inherit version;
homepage = "http://www.namesys.com/";
description = "ReiserFS utilities";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}