aefs: "update" to unstable-2015-05-06

In order to remove reference to tarballs.nixos.org

+18 -15
+18 -15
pkgs/tools/filesystems/aefs/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, fuse }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , fuse 6 + , git 7 + }: 2 8 3 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation { 4 10 pname = "aefs"; 5 - version = "0.4pre259-8843b7c"; 11 + version = "unstable-2015-05-06"; 6 12 7 - src = fetchurl { 8 - url = "http://tarballs.nixos.org/aefs-${version}.tar.bz2"; 9 - sha256 = "167hp58hmgdavg2mqn5dx1xgq24v08n8d6psf33jhbdabzx6a6zq"; 13 + src = fetchFromGitHub { 14 + owner = "edolstra"; 15 + repo = "aefs"; 16 + rev = "e7a9bf8cfa9166668fe1514cc1afd31fc4e10e9a"; 17 + hash = "sha256-a3YQWxJ7+bYhf1W1kdIykV8U1R4dcDZJ7K3NvNxbF0s="; 10 18 }; 11 19 12 - patches = [ 13 - (fetchpatch { 14 - url = "https://github.com/edolstra/aefs/commit/15d8df8b8d5dc1ee20d27a86c4d23163a67f3123.patch"; 15 - sha256 = "0k36hsyvf8a0ji2hpghgqff2fncj0pllxn8p0rs0aj4h7j2vp4iv"; 16 - }) 17 - ]; 18 - 19 20 # autoconf's AC_CHECK_HEADERS and AC_CHECK_LIBS fail to detect libfuse on 20 21 # Darwin if FUSE_USE_VERSION isn't set at configure time. 21 22 # ··· 26 27 # $ grep -R FUSE_USE_VERSION 27 28 configureFlags = lib.optional stdenv.isDarwin "CPPFLAGS=-DFUSE_USE_VERSION=26"; 28 29 30 + nativeBuildInputs = [ autoreconfHook git ]; 31 + 29 32 buildInputs = [ fuse ]; 30 33 31 34 meta = with lib; { 32 35 homepage = "https://github.com/edolstra/aefs"; 33 36 description = "A cryptographic filesystem implemented in userspace using FUSE"; 34 - platforms = platforms.unix; 35 37 maintainers = [ maintainers.eelco ]; 36 - license = licenses.gpl2; 38 + license = licenses.gpl2Plus; 39 + platforms = platforms.unix; 37 40 }; 38 41 }