about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/filesystems/gfs2-utils/default.nix
blob: 00c73ce3e603d4c508e963a2e59f4352614d7292 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, stdenv, fetchurl
, autoreconfHook, bison, flex, pkg-config
, bzip2, check, ncurses, util-linux, zlib
}:

stdenv.mkDerivation rec {
  pname = "gfs2-utils";
  version = "3.5.1";

  src = fetchurl {
    url = "https://pagure.io/gfs2-utils/archive/${version}/gfs2-utils-${version}.tar.gz";
    hash = "sha256-ZWzNfYuhIxGmSAe454vRjAKp9Lq7EBBSY36P7qVgZnw=";
  };

  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;
  };
}