nixpkgs/pkgs/by-name/ct/ctmg/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
613 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchzip,
}:
2018-06-05 17:29:34 +00:00
stdenv.mkDerivation rec {
pname = "ctmg";
2018-06-05 17:29:34 +00:00
version = "1.2";
2018-06-05 19:05:11 +00:00
src = fetchzip {
url = "https://git.zx2c4.com/ctmg/snapshot/ctmg-${version}.tar.xz";
sha256 = "1i4v8sriwjrmj3yizbl1ysckb711yl9qsn9x45jq0ij1apsydhyc";
2018-06-05 17:29:34 +00:00
};
2018-06-05 19:05:11 +00:00
installPhase = "install -D ctmg.sh $out/bin/ctmg";
2018-06-05 17:29:34 +00:00
meta = with lib; {
2018-06-05 17:29:34 +00:00
description = "Encrypted container manager for Linux using cryptsetup";
homepage = "https://git.zx2c4.com/ctmg/about/";
2018-06-05 19:05:11 +00:00
license = licenses.isc;
2018-06-05 17:29:34 +00:00
maintainers = with maintainers; [ mrVanDalo ];
2018-06-05 19:05:11 +00:00
platforms = platforms.linux;
2023-11-23 02:51:17 +00:00
mainProgram = "ctmg";
2018-06-05 17:29:34 +00:00
};
}