aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/misc/thin-provisioning-tools/default.nix
blob: 8df030eafadb8a3614d01ef7e19296c18b68db1f (plain)
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
{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, expat, libaio, boost, binutils }:

stdenv.mkDerivation rec {
  pname = "thin-provisioning-tools";
  version = "0.9.0";

  src = fetchFromGitHub {
    owner = "jthornber";
    repo = "thin-provisioning-tools";
    rev = "v${version}";
    sha256 = "1iwg04rhmdhijmlk5hfl8wvv83115lzb65if6cc1glkkfva8jfjp";
  };

  nativeBuildInputs = [ autoreconfHook ];

  buildInputs = [ expat libaio boost binutils ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    homepage = "https://github.com/jthornber/thin-provisioning-tools/";
    description = "A suite of tools for manipulating the metadata of the dm-thin device-mapper target";
    license = licenses.gpl3;
    platforms = platforms.unix;
    maintainers = with maintainers; [ ];
  };
}