2018-06-05 21:05:11 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2018-06-05 19:29:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ctmg";
|
2018-06-05 19:29:34 +02:00
|
|
|
version = "1.2";
|
|
|
|
|
2018-06-05 21:05:11 +02:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://git.zx2c4.com/ctmg/snapshot/ctmg-${version}.tar.xz";
|
|
|
|
sha256 = "1i4v8sriwjrmj3yizbl1ysckb711yl9qsn9x45jq0ij1apsydhyc";
|
2018-06-05 19:29:34 +02:00
|
|
|
};
|
|
|
|
|
2018-06-05 21:05:11 +02:00
|
|
|
installPhase = "install -D ctmg.sh $out/bin/ctmg";
|
2018-06-05 19:29:34 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An encrypted container manager for Linux using cryptsetup";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://git.zx2c4.com/ctmg/about/";
|
2018-06-05 21:05:11 +02:00
|
|
|
license = licenses.isc;
|
2018-06-05 19:29:34 +02:00
|
|
|
maintainers = with maintainers; [ mrVanDalo ];
|
2018-06-05 21:05:11 +02:00
|
|
|
platforms = platforms.linux;
|
2018-06-05 19:29:34 +02:00
|
|
|
};
|
|
|
|
}
|