Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 27 lines 729 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config 2, python3, boost, fuse, libtorrent-rasterbar, curl }: 3 4stdenv.mkDerivation rec { 5 pname = "btfs"; 6 version = "2.24"; 7 8 src = fetchFromGitHub { 9 owner = "johang"; 10 repo = pname; 11 rev = "v${version}"; 12 sha256 = "sha256-fkS0U/MqFRQNi+n7NE4e1cnNICvfST2IQ9FMoJUyj6w="; 13 }; 14 15 nativeBuildInputs = [ autoreconfHook pkg-config ]; 16 buildInputs = [ 17 boost fuse libtorrent-rasterbar curl python3 18 ]; 19 20 meta = with lib; { 21 description = "Bittorrent filesystem based on FUSE"; 22 homepage = "https://github.com/johang/btfs"; 23 license = licenses.gpl3; 24 maintainers = with maintainers; [ rnhmjoj ]; 25 platforms = platforms.unix; 26 }; 27}