Merge pull request #12961 from rnhmjoj/btfs

btfs: init at 2.7

+35
+33
pkgs/os-specific/linux/btfs/default.nix
···
··· 1 + { stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, 2 + python, boost, fuse, libtorrentRasterbar, curl }: 3 + 4 + stdenv.mkDerivation rec { 5 + name = "btfs-${version}"; 6 + version = "2.7"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "johang"; 10 + repo = "btfs"; 11 + rev = "e816b4718bd5c9d88a99805d19d2ad91971b2338"; 12 + sha256 = "1mac2dwg0pzpmg0x503a8d8gx3ridi4m1qx4jk6ssvl4g9v6p7fl"; 13 + }; 14 + 15 + buildInputs = [ 16 + pkgconfig autoconf automake boost 17 + fuse libtorrentRasterbar curl 18 + ]; 19 + 20 + preConfigure = '' 21 + autoreconf -i 22 + substituteInPlace scripts/btplay \ 23 + --replace /usr/bin/python ${python}/bin/python 24 + ''; 25 + 26 + meta = with stdenv.lib; { 27 + description = "A bittorrent filesystem based on FUSE"; 28 + homepage = "https://github.com/johang/btfs"; 29 + license = licenses.gpl3; 30 + maintainers = with maintainers; [ rnhmjoj ]; 31 + platforms = platforms.linux; 32 + }; 33 + }
+2
pkgs/top-level/all-packages.nix
··· 762 sha256 = "0p2sxrpzd0vsk11zf3kb5h12yl1nq4yypb5mpjrm8ww0cfaijck2"; 763 }; 764 765 cabal2nix = haskellPackages.cabal2nix; 766 767 capstone = callPackage ../development/libraries/capstone { };
··· 762 sha256 = "0p2sxrpzd0vsk11zf3kb5h12yl1nq4yypb5mpjrm8ww0cfaijck2"; 763 }; 764 765 + btfs = callPackage ../os-specific/linux/btfs { }; 766 + 767 cabal2nix = haskellPackages.cabal2nix; 768 769 capstone = callPackage ../development/libraries/capstone { };