nixpkgs/pkgs/tools/misc/thin-provisioning-tools/default.nix
2020-11-28 03:08:50 +01:00

28 lines
792 B
Nix

{ stdenv, fetchFromGitHub, 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; [ ];
};
}