btfs: 2.8 -> 2.9

This commit is contained in:
rnhmjoj 2016-05-28 15:21:15 +02:00
parent 70286f1348
commit 862ccab89c
No known key found for this signature in database
GPG Key ID: 362BB82B7E496B7C

View File

@ -1,24 +1,23 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig,
python, boost, fuse, libtorrentRasterbar, curl }: python, boost, fuse, libtorrentRasterbar, curl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "btfs-${version}"; name = "btfs-${version}";
version = "2.8"; version = "2.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "johang"; owner = "johang";
repo = "btfs"; repo = "btfs";
rev = "0567010e553b290eaa50b1afaa717dd7656c82de"; rev = "3ee6671eca2c0e326ac38d07cab4989ebad3495c";
sha256 = "1x3x1v7fhcfcpffprf63sb720nxci2ap2cq92jy1xd68kmshdmwd"; sha256 = "0f7yc7hkfwdj9hixsyswf17yrpcpwxxb0svj5lfqcir8a45kf100";
}; };
buildInputs = [ buildInputs = [
pkgconfig autoconf automake boost boost autoreconfHook pkgconfig
fuse libtorrentRasterbar curl fuse libtorrentRasterbar curl
]; ];
preConfigure = '' preInstall = ''
autoreconf -i
substituteInPlace scripts/btplay \ substituteInPlace scripts/btplay \
--replace "/usr/bin/env python" "${python}/bin/python" --replace "/usr/bin/env python" "${python}/bin/python"
''; '';