nixpkgs-suyu/pkgs/os-specific/linux/fscryptctl/default.nix

31 lines
776 B
Nix
Raw Normal View History

2017-09-24 23:00:40 +02:00
{ stdenv, fetchFromGitHub }:
# Don't use this for anything important yet!
stdenv.mkDerivation rec {
name = "fscryptctl-unstable-${version}";
2018-02-14 13:29:33 +01:00
version = "2017-10-23";
2017-09-24 23:00:40 +02:00
goPackagePath = "github.com/google/fscrypt";
src = fetchFromGitHub {
owner = "google";
repo = "fscryptctl";
2018-02-14 13:29:33 +01:00
rev = "142326810eb19d6794793db6d24d0775a15aa8e5";
sha256 = "1853hlpklisbqnkb7a921dsf0vp2nr2im26zpmrs592cnpsvk3hb";
2017-09-24 23:00:40 +02:00
};
makeFlags = [ "DESTDIR=$(out)/bin" ];
meta = with stdenv.lib; {
description = ''
A low-level tool that handles raw keys and manages policies for Linux
filesystem encryption
'';
inherit (src.meta) homepage;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
};
}