lol
1{ lib, stdenv, fetchzip }:
2
3stdenv.mkDerivation rec {
4 pname = "ctmg";
5 version = "1.2";
6
7 src = fetchzip {
8 url = "https://git.zx2c4.com/ctmg/snapshot/ctmg-${version}.tar.xz";
9 sha256 = "1i4v8sriwjrmj3yizbl1ysckb711yl9qsn9x45jq0ij1apsydhyc";
10 };
11
12 installPhase = "install -D ctmg.sh $out/bin/ctmg";
13
14 meta = with lib; {
15 description = "An encrypted container manager for Linux using cryptsetup";
16 homepage = "https://git.zx2c4.com/ctmg/about/";
17 license = licenses.isc;
18 maintainers = with maintainers; [ mrVanDalo ];
19 platforms = platforms.linux;
20 };
21}