2021-02-27 22:18:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, expat, libaio, boost }:
|
2016-10-05 20:28:28 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "thin-provisioning-tools";
|
2020-03-29 18:56:05 +02:00
|
|
|
version = "0.9.0";
|
2016-10-05 20:28:28 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jthornber";
|
|
|
|
repo = "thin-provisioning-tools";
|
|
|
|
rev = "v${version}";
|
2020-03-29 18:56:05 +02:00
|
|
|
sha256 = "1iwg04rhmdhijmlk5hfl8wvv83115lzb65if6cc1glkkfva8jfjp";
|
2016-10-05 20:28:28 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-02-27 22:18:13 +01:00
|
|
|
buildInputs = [ expat libaio boost ];
|
2018-05-08 21:51:52 +02:00
|
|
|
|
2018-05-08 22:23:32 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/jthornber/thin-provisioning-tools/";
|
2016-10-05 20:28:28 +02:00
|
|
|
description = "A suite of tools for manipulating the metadata of the dm-thin device-mapper target";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
2019-08-20 19:36:05 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2016-10-05 20:28:28 +02:00
|
|
|
};
|
|
|
|
}
|