45 lines
762 B
Nix
45 lines
762 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
python3,
|
|
boost,
|
|
fuse3,
|
|
libtorrent-rasterbar,
|
|
curl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "btfs";
|
|
version = "3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "johang";
|
|
repo = "btfs";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-JuofC4TpbZ56qiUrHeoK607YHVbwqwLGMIdUpsTm9Ic=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
boost
|
|
fuse3
|
|
libtorrent-rasterbar
|
|
curl
|
|
python3
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Bittorrent filesystem based on FUSE";
|
|
homepage = "https://github.com/johang/btfs";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|