depot/third_party/nixpkgs/pkgs/tools/security/ctmg/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

21 lines
583 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 = "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;
};
}