1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/btfs/default.nix
R. RyanTM da627dec9f btfs: 2.18 -> 2.19 (#60478)
* btfs: 2.18 -> 2.19

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/btfs/versions

* btfs: refactor
2019-05-01 00:22:15 +02:00

33 lines
848 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, python3, boost, fuse, libtorrentRasterbar, curl }:
stdenv.mkDerivation rec {
pname = "btfs";
version = "2.19";
src = fetchFromGitHub {
owner = "johang";
repo = pname;
rev = "v${version}";
sha256 = "1b58zqha2hpnk4ysp9870wd9pkyy6l106ghp0z0x655q70npj0wn";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [
boost fuse libtorrentRasterbar curl
];
preInstall = ''
substituteInPlace scripts/btplay \
--replace "/usr/bin/env python" "${python3.interpreter}"
'';
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;
};
}