bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
22 lines
606 B
Nix
22 lines
606 B
Nix
{ lib, stdenv, fetchzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ctmg";
|
|
version = "1.2";
|
|
|
|
src = fetchzip {
|
|
url = "https://git.zx2c4.com/ctmg/snapshot/ctmg-${version}.tar.xz";
|
|
sha256 = "1i4v8sriwjrmj3yizbl1ysckb711yl9qsn9x45jq0ij1apsydhyc";
|
|
};
|
|
|
|
installPhase = "install -D ctmg.sh $out/bin/ctmg";
|
|
|
|
meta = with lib; {
|
|
description = "Encrypted container manager for Linux using cryptsetup";
|
|
homepage = "https://git.zx2c4.com/ctmg/about/";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ mrVanDalo ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "ctmg";
|
|
};
|
|
}
|