blob: c075c3f1667d856ca5cf7898252b80f359fbe6d8 (
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
|
{ stdenv, fetchFromGitHub, autoconf, pkgconfig, utillinux, coreutils, expat, libaio, boost}:
let
version = "0.6.1";
in
stdenv.mkDerivation {
name = "thin-provisioning-tools-${version}";
src = fetchFromGitHub {
owner = "jthornber";
repo = "thin-provisioning-tools";
rev = "e46bdfd4cc6cdb13852de8aba4e3019425ab0a89";
sha256 = "061rw33nw16g71ij05axl713wimawx54h2ggpqxvzy7iyi6lhdcm";
};
nativeBuildInputs = [ autoconf pkgconfig expat libaio boost ];
preConfigure =
''
autoconf
'';
meta = {
homepage = https://github.com/jthornber/thin-provisioning-tools;
descriptions = "Tools for manipulating the metadata of the device-mapper targets (dm-thin-pool, dm-cache, dm-era)";
platforms = stdenv.lib.platforms.linux;
inherit version;
};
}
|