From 2a0ec8b4456b7aa210d18419e816c3c8fccfe4a6 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Tue, 5 Jun 2018 19:29:34 +0200 Subject: [PATCH] ctmg: add 1.2 --- pkgs/tools/security/ctmg/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/security/ctmg/default.nix diff --git a/pkgs/tools/security/ctmg/default.nix b/pkgs/tools/security/ctmg/default.nix new file mode 100644 index 000000000000..270e702cf110 --- /dev/null +++ b/pkgs/tools/security/ctmg/default.nix @@ -0,0 +1,25 @@ +{ 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; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8906893112d8..a3a81001b470 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7816,6 +7816,8 @@ with pkgs; ctodo = callPackage ../applications/misc/ctodo { }; + ctmg = callPackage ../tools/security/ctmg { }; + cmake_2_8 = callPackage ../development/tools/build-managers/cmake/2.8.nix { }; cmake = libsForQt5.callPackage ../development/tools/build-managers/cmake { };