diff --git a/pkgs/applications/networking/p2p/storrent/default.nix b/pkgs/applications/networking/p2p/storrent/default.nix new file mode 100644 index 000000000000..4c96200cc686 --- /dev/null +++ b/pkgs/applications/networking/p2p/storrent/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "storrent-unstable"; + version = "2021-10-10"; + + src = fetchFromGitHub { + owner = "jech"; + repo = "storrent"; + rev = "681733cf74de08bea251ada672ea8c666eb1b679"; + sha256 = "0grrqgawswb44fahf40060jl691rlyccwlqkljvgy8mzzw1kjzj4"; + }; + + vendorSha256 = "0sz2fz7bqgwd5i7sacyxs7bmb8ly6xrxrakqi9c446vzlkh898hj"; + + meta = with lib; { + homepage = "https://github.com/jech/storrent"; + description = "An implementation of the BitTorrent protocol that is optimised for streaming media"; + license = licenses.mit; + maintainers = [ maintainers.marsam ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6326b177db5c..abe313969f48 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26848,6 +26848,8 @@ with pkgs; songrec = callPackage ../applications/audio/songrec {}; + storrent = callPackage ../applications/networking/p2p/storrent { }; + spacegun = callPackage ../applications/networking/cluster/spacegun {}; stride = callPackage ../applications/networking/instant-messengers/stride { };