depot/third_party/nixpkgs/pkgs/tools/security/ctmg/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

21 lines
585 B
Nix

{ 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;
};
}