1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00

Merge pull request #12961 from rnhmjoj/btfs

btfs: init at 2.7
This commit is contained in:
Franz Pletz 2016-02-14 23:36:17 +01:00
commit d20a68404e
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoconf, automake,
python, boost, fuse, libtorrentRasterbar, curl }:
stdenv.mkDerivation rec {
name = "btfs-${version}";
version = "2.7";
src = fetchFromGitHub {
owner = "johang";
repo = "btfs";
rev = "e816b4718bd5c9d88a99805d19d2ad91971b2338";
sha256 = "1mac2dwg0pzpmg0x503a8d8gx3ridi4m1qx4jk6ssvl4g9v6p7fl";
};
buildInputs = [
pkgconfig autoconf automake boost
fuse libtorrentRasterbar curl
];
preConfigure = ''
autoreconf -i
substituteInPlace scripts/btplay \
--replace /usr/bin/python ${python}/bin/python
'';
meta = with stdenv.lib; {
description = "A bittorrent filesystem based on FUSE";
homepage = "https://github.com/johang/btfs";
license = licenses.gpl3;
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.linux;
};
}

View file

@ -762,6 +762,8 @@ let
sha256 = "0p2sxrpzd0vsk11zf3kb5h12yl1nq4yypb5mpjrm8ww0cfaijck2";
};
btfs = callPackage ../os-specific/linux/btfs { };
cabal2nix = haskellPackages.cabal2nix;
capstone = callPackage ../development/libraries/capstone { };