mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
26 lines
640 B
Nix
26 lines
640 B
Nix
{ stdenv, fetchurl, ... }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ctmg-${version}";
|
|
version = "1.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://git.zx2c4.com/ctmg/snapshot/ctmg-${version}.tar.xz";
|
|
sha256 = "1djxrf66abl63cybxfgjshr8avbp6nq158d0jx4mlfa3pdj32kv9";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp 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.free;
|
|
maintainers = with maintainers; [ mrVanDalo ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|
|
|