summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/security/ecryptfs
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-01-25 10:34:47 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-01-25 10:34:47 +0000
commit279ffaa62139d628abf1aa2a67d47aaadef4454d (patch)
tree26ae6e0e21929f14e14767358c5ef494e407adcd /pkgs/tools/security/ecryptfs
parent98de9a27c9f3be384371f350fedce25852e34a94 (diff)
Adding ecryptfs, and one of its dependencies: keyutils.
(I have not tried whether they work) svn path=/nixpkgs/trunk/; revision=19645
Diffstat (limited to 'pkgs/tools/security/ecryptfs')
-rw-r--r--pkgs/tools/security/ecryptfs/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/tools/security/ecryptfs/default.nix b/pkgs/tools/security/ecryptfs/default.nix
new file mode 100644
index 000000000000..d1ed6f420ec3
--- /dev/null
+++ b/pkgs/tools/security/ecryptfs/default.nix
@@ -0,0 +1,18 @@
+{stdenv, fetchurl, fuse, python, perl, keyutils, pam, nss, nspr}:
+stdenv.mkDerivation {
+ name = "ecryptfs-82";
+
+ src = fetchurl {
+ url = http://launchpad.net/ecryptfs/trunk/82/+download/ecryptfs-utils_82.orig.tar.gz;
+ sha256 = "1w3swispgp71prz8h56hqby2wwnvam5vllqvc69rn8cf605i69a6";
+ };
+
+ NIX_CFLAGS_COMPILE = "-I${nspr}/include/nspr -I${nss}/include/nss";
+
+ buildInputs = [ python perl keyutils pam nss nspr ];
+
+ meta = {
+ description = "Enterprise-class stacked cryptographic filesystem";
+ license = "GPLv2+";
+ };
+}