[Nix-dev] PATCH: Nix expressions for encfs and rlog

Evgeny Egorochkin phreedom.stdin at gmail.com
Sun Nov 28 10:59:40 CET 2010


Somehow this patch got lost :( Committing it now...

On Saturday 07 August 2010 00:27:09 Ambrus Kaposi wrote:
> Hi,
> Here are the Nix expressions for encfs (fuse) filesystem and the rlog
> library on which it depends. Using encfs is a very simple way to
> encrypt your data.
> 
> Index: pkgs/development/libraries/rlog/default.nix
> ===================================================================
> --- pkgs/development/libraries/rlog/default.nix	(revision 0)
> +++ pkgs/development/libraries/rlog/default.nix	(revision 0)
> @@ -0,0 +1,15 @@
> +{ stdenv, fetchurl }:
> +
> +stdenv.mkDerivation {
> +  name = "rlog-1.4";
> +
> +  src = fetchurl {
> +    url = "http://rlog.googlecode.com/files/rlog-1.4.tar.gz";
> +    sha256 = "0y9zg0pd7vmnskwac1qdyzl282z7kb01nmn57lsg2mjdxgnywf59";
> +  };
> +
> +  meta = {
> +    homepage = http://www.arg0.net/rlog;
> +    description = "A C++ logging library used in encfs";
> +  };
> +}
> Index: pkgs/tools/filesystems/encfs/default.nix
> ===================================================================
> --- pkgs/tools/filesystems/encfs/default.nix	(revision 0)
> +++ pkgs/tools/filesystems/encfs/default.nix	(revision 0)
> @@ -0,0 +1,19 @@
> +{ stdenv, fetchurl, openssl, fuse, boost, rlog }:
> +
> +stdenv.mkDerivation {
> +  name = "encfs-1.6.1";
> +
> +  src = fetchurl {
> +    url = "http://encfs.googlecode.com/files/encfs-1.6-1.tgz";
> +    sha256 = "0k50ic5nyibb9giif9dqm6sj20q0yzri3drg78m788z17xp060mw";
> +  };
> +
> +  buildInputs = [ boost fuse openssl rlog ];
> +
> +  configureFlags = "--with-boost-serialization=boost_wserialization
> --with-boost-filesystem=boost_filesystem";
> +
> +  meta = {
> +    homepage = http://www.arg0.net/encfs;
> +    description = "EncFS provides an encrypted filesystem in
> user-space via FUSE";
> +  };
> +}
> Index: pkgs/top-level/all-packages.nix
> ===================================================================
> --- pkgs/top-level/all-packages.nix	(revision 23013)
> +++ pkgs/top-level/all-packages.nix	(working copy)
> @@ -546,6 +546,8 @@
> 
>    enblendenfuse = callPackage ../tools/graphics/enblend-enfuse { };
> 
> +  encfs = callPackage ../tools/filesystems/encfs { };
> +
>    enscript = callPackage ../tools/text/enscript { };
> 
>    eprover = callPackage ../tools/misc/eProver {
> @@ -3634,6 +3636,8 @@
>      javac = gcj;
>      jvm = gcj;
>    };
> +
> +  rlog = callPackage ../development/libraries/rlog { };
> 
>    rte = callPackage ../development/libraries/rte { };
> 
> 
> 
> ------------------------------------
> Ambrus Kaposi
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev

-- 
Evgeny



More information about the nix-dev mailing list