@@ -0,0 +1,25 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook, expat, libaio, boost }:
2+
3+stdenv.mkDerivation rec {
4+ name = "thin-provisioning-tools-${version}";
5+ version = "0.6.3";
6+
7+ src = fetchFromGitHub {
8+ owner = "jthornber";
9+ repo = "thin-provisioning-tools";
10+ rev = "v${version}";
11+ sha256 = "0glwhfzwj9afbqdv59ppgfqy7rik8m0vcap7279fpnvwpr1c2p5n";
12+ };
13+
14+ nativeBuildInputs = [ autoreconfHook ];
15+
16+ buildInputs = [ expat libaio boost ];
17+
18+ meta = with stdenv.lib; {
19+ homepage = https://github.com/jthornber/thin-provisioning-tools/;
20+ description = "A suite of tools for manipulating the metadata of the dm-thin device-mapper target";
21+ license = licenses.gpl3;
22+ platforms = platforms.unix;
23+ maintainers = with maintainers; [ globin ];
24+ };
25+}