1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00
nixpkgs/pkgs/tools/filesystems/reiserfsprogs/default.nix
2021-07-18 00:19:24 +02:00

26 lines
709 B
Nix

{ lib, stdenv, fetchurl, libuuid, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "reiserfsprogs";
version = "3.6.24";
src = fetchurl {
url = "https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${version}/${pname}-${version}.tar.xz";
sha256 = "0q07df9wxxih8714a3mdp61h5n347l7j2a0l351acs3xapzgwi3y";
};
patches = [ ./reiserfsprogs-ar-fix.patch ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libuuid ];
NIX_CFLAGS_COMPILE = [ "-std=gnu90" "-D_GNU_SOURCE" ];
meta = {
inherit version;
homepage = "http://www.namesys.com/";
description = "ReiserFS utilities";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}