git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #20057 from joachifm/encfs

encfs: 1.8.1 -> 1.9.1

commitba9c422caaa5355b352e42df21340f3dc1d96be7 authorTim Steinbach <NeQuissimus@users.noreply.github.com> dateTue 1 Nov 2016, 11:17 (10 years ago) parentcfbb4190ee7d1e
3 files changed+31−19
pkgs/development/libraries/tinyxml-2/default.nix+13−6 pkgs/tools/filesystems/encfs/default.nix+15−12 pkgs/top-level/all-packages.nix+3−1
pkgs/development/libraries/tinyxml-2/default.nix+13−6
@@ -1,15 +1,22 @@
1−{ stdenv, fetchurl, cmake }:
2−let version = "3.0.0";
3−in stdenv.mkDerivation rec {
1+{ stdenv, fetchFromGitHub, cmake }:
2+
3+stdenv.mkDerivation rec {
44 name = "tinyxml-2-${version}";
5− src = fetchurl {
6− url = "https://github.com/leethomason/tinyxml2/archive/${version}.tar.gz";
7− sha256 = "0ispg7ngkry8vhzzawbq42y8gkj53xjipkycw0rkhh487ras32hj";
5+ version = "4.0.1";
6+
7+ src = fetchFromGitHub {
8+ repo = "tinyxml2";
9+ owner = "leethomason";
10+ rev = version;
11+ sha256 = "1a0skfi8rzk53qcxbv88qlvhlqzvsvg4hm20dnx4zw7vrn6anr9y";
812 };
913
1014 nativeBuildInputs = [ cmake ];
1115
1216 meta = {
17+ description = "A simple, small, efficient, C++ XML parser";
18+ homepage = http://www.grinninglizard.com/tinyxml2/index.html;
1319 platforms = stdenv.lib.platforms.unix;
20+ license = stdenv.lib.licenses.zlib;
1421 };
1522}
pkgs/tools/filesystems/encfs/default.nix+15−12
@@ -1,31 +1,34 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl
2−, pkgconfig, rlog }:
1+{ stdenv, fetchFromGitHub
2+, cmake, pkgconfig, perl
3+, gettext, fuse, openssl, tinyxml2
4+}:
35
46stdenv.mkDerivation rec {
57 name = "encfs-${version}";
6− version = "1.8.1";
8+ version = "1.9.1";
79
810 src = fetchFromGitHub {
9− sha256 = "1cxihqwpnqbzy8qz0134199pwfnd7ikr2835p5p1yzqnl203wcdb";
11+ sha256 = "1pyldd802db987m13jfmy491mp8mnsv2mwki0ra4wbnngbqgalhv";
1012 rev = "v${version}";
1113 repo = "encfs";
1214 owner = "vgough";
1315 };
1416
15− buildInputs = [ boost fuse openssl rlog ];
16− nativeBuildInputs = [ autoreconfHook perl pkgconfig ];
17+ buildInputs = [ gettext fuse openssl tinyxml2 ];
18+ nativeBuildInputs = [ cmake pkgconfig perl ];
1719
18− configureFlags = [
19− "--with-boost-serialization=boost_wserialization"
20− "--with-boost-filesystem=boost_filesystem"
21− ];
20+ cmakeFlags =
21+ [ "-DUSE_INTERNAL_TINYXML=OFF"
22+ "-DBUILD_SHARED_LIBS=ON"
23+ "-DINSTALL_LIBENCFS=ON"
24+ ];
2225
2326 enableParallelBuilding = true;
2427
2528 meta = with stdenv.lib; {
29+ description = "An encrypted filesystem in user-space via FUSE";
2630 homepage = https://vgough.github.io/encfs;
27− description = "Provides an encrypted filesystem in user-space via FUSE";
28− license = licenses.lgpl2;
31+ license = with licenses; [ gpl3 lgpl3 ];
2932 maintainers = with maintainers; [ nckx ];
3033 platforms = with platforms; linux;
3134 };
pkgs/top-level/all-packages.nix+3−1
@@ -1517,7 +1517,9 @@ in
15171517
15181518 enblend-enfuse = callPackage ../tools/graphics/enblend-enfuse { };
15191519
1520− encfs = callPackage ../tools/filesystems/encfs { };
1520+ encfs = callPackage ../tools/filesystems/encfs {
1521+ tinyxml2 = tinyxml-2;
1522+ };
15211523
15221524 enscript = callPackage ../tools/text/enscript { };
15231525