2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2020-12-25 13:55:36 +00:00
|
|
|
, python3, boost, fuse, libtorrent-rasterbar, curl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "btfs";
|
2021-02-17 17:02:09 +00:00
|
|
|
version = "2.24";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johang";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-17 17:02:09 +00:00
|
|
|
sha256 = "sha256-fkS0U/MqFRQNi+n7NE4e1cnNICvfST2IQ9FMoJUyj6w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2020-12-25 13:55:36 +00:00
|
|
|
boost fuse libtorrent-rasterbar curl python3
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A bittorrent filesystem based on FUSE";
|
|
|
|
homepage = "https://github.com/johang/btfs";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ rnhmjoj ];
|
2021-04-22 02:08:21 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|