Merge pull request #296950 from kintrix007/add-vlc-bittorrent

vlc-bittorrent: init at 2.15.0

authored by Pol Dellaiera and committed by GitHub a569260e 852b4032

+61
+6
maintainers/maintainer-list.nix
··· 10329 githubId = 691290; 10330 name = "Keshav Kini"; 10331 }; 10332 kinzoku = { 10333 email = "kinzokudev4869@gmail.com"; 10334 github = "kinzoku-dev";
··· 10329 githubId = 691290; 10330 name = "Keshav Kini"; 10331 }; 10332 + kintrix = { 10333 + email = "kintrix007@proton.me"; 10334 + github = "kintrix007"; 10335 + githubId = 60898798; 10336 + name = "kintrix"; 10337 + }; 10338 kinzoku = { 10339 email = "kinzokudev4869@gmail.com"; 10340 github = "kinzoku-dev";
+55
pkgs/by-name/vl/vlc-bittorrent/package.nix
···
··· 1 + { lib 2 + , autoconf-archive 3 + , autoreconfHook 4 + , boost 5 + , fetchFromGitHub 6 + , libtorrent-rasterbar 7 + , libvlc 8 + , openssl 9 + , pkg-config 10 + , stdenv 11 + }: 12 + 13 + # VLC does not know where the vlc-bittorrent package is installed. 14 + # make sure to have something like: 15 + # environment.variables.VLC_PLUGIN_PATH = "${pkgs.vlc-bittorrent}"; 16 + 17 + stdenv.mkDerivation (finalAttrs: { 18 + pname = "vlc-bittorrent"; 19 + version = "2.15.0"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "johang"; 23 + repo = "vlc-bittorrent"; 24 + rev = "v${finalAttrs.version}"; 25 + hash = "sha256-7FHeQYHbMKZJ3yeHqxTTAUwghTje+gEX8gSEJzfG5sQ="; 26 + }; 27 + 28 + nativeBuildInputs = [ 29 + autoconf-archive 30 + autoreconfHook 31 + pkg-config 32 + ]; 33 + 34 + buildInputs = [ 35 + boost 36 + libtorrent-rasterbar 37 + libvlc 38 + openssl 39 + ]; 40 + 41 + strictDeps = true; 42 + 43 + # It's a library, should not have a desktop file 44 + postFixup = '' 45 + rm -r $out/share/ 46 + ''; 47 + 48 + meta = with lib; { 49 + description = "A bittorrent plugin for VLC"; 50 + homepage = "https://github.com/johang/vlc-bittorrent"; 51 + license = licenses.gpl3Plus; 52 + platforms = platforms.linux; 53 + maintainers = [ maintainers.kintrix ]; 54 + }; 55 + })