2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, expat, libaio, boost, binutils }:
|
2016-10-05 19:28:28 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "thin-provisioning-tools";
|
2020-03-29 17:56:05 +01:00
|
|
|
version = "0.9.0";
|
2016-10-05 19:28:28 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jthornber";
|
|
|
|
repo = "thin-provisioning-tools";
|
|
|
|
rev = "v${version}";
|
2020-03-29 17:56:05 +01:00
|
|
|
sha256 = "1iwg04rhmdhijmlk5hfl8wvv83115lzb65if6cc1glkkfva8jfjp";
|
2016-10-05 19:28:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2020-03-29 17:56:05 +01:00
|
|
|
buildInputs = [ expat libaio boost binutils ];
|
2018-05-08 20:51:52 +01:00
|
|
|
|
2018-05-08 21:23:32 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jthornber/thin-provisioning-tools/";
|
2016-10-05 19:28:28 +01: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 18:36:05 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2016-10-05 19:28:28 +01:00
|
|
|
};
|
|
|
|
}
|