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

27 lines
742 B
Nix
Raw Normal View History

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