about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/ctmg/default.nix
blob: a30523c3bbc1909353234ae4554ad4ad106aa415 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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 stdenv.lib; {
    description = "An encrypted container manager for Linux using cryptsetup";
    homepage = "https://git.zx2c4.com/ctmg/about/";
    license = licenses.isc;
    maintainers = with maintainers; [ mrVanDalo ];
    platforms = platforms.linux;
  };
}