61 lines
998 B
Nix
61 lines
998 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
autoreconfHook,
|
|
bison,
|
|
flex,
|
|
pkg-config,
|
|
bzip2,
|
|
check,
|
|
ncurses,
|
|
util-linux,
|
|
zlib,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gfs2-utils";
|
|
version = "3.6.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://pagure.io/gfs2-utils/archive/${version}/gfs2-utils-${version}.tar.gz";
|
|
hash = "sha256-VxvjRwPeWiImeJsSV7IJFrH0AvqD+IPgt22u9Gbqk4I=";
|
|
};
|
|
|
|
outputs = [
|
|
"bin"
|
|
"doc"
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
bison
|
|
flex
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
bzip2
|
|
ncurses
|
|
util-linux
|
|
zlib
|
|
];
|
|
|
|
nativeCheckInputs = [ check ];
|
|
doCheck = true;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://pagure.io/gfs2-utils";
|
|
description = "Tools for creating, checking and working with gfs2 filesystems";
|
|
maintainers = with maintainers; [ qyliss ];
|
|
license = [
|
|
licenses.gpl2Plus
|
|
licenses.lgpl2Plus
|
|
];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|