nixos/uptime-kuma: Add additional lockdown settings to systemd unit (#361452)
[NixPkgs.git] / pkgs / by-name / ct / ctmg / package.nix
blob63c9004bcbc9fbcf7e6d9ce989a4de276430c2e2
1 { lib, stdenv, fetchzip }:
3 stdenv.mkDerivation rec {
4   pname = "ctmg";
5   version = "1.2";
7   src = fetchzip {
8     url = "https://git.zx2c4.com/ctmg/snapshot/ctmg-${version}.tar.xz";
9     sha256 = "1i4v8sriwjrmj3yizbl1ysckb711yl9qsn9x45jq0ij1apsydhyc";
10   };
12   installPhase = "install -D ctmg.sh $out/bin/ctmg";
14   meta = with lib; {
15     description = "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     mainProgram = "ctmg";
21   };