From d212adce2ab3d0e631f6e48288d3d0d6c9e7286b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 23 Oct 2021 04:20:00 +0000 Subject: [PATCH] storrent: init at 2021-10-10 --- .../networking/p2p/storrent/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/applications/networking/p2p/storrent/default.nix 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 2cfdcf014b2c..74aede43457a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26822,6 +26822,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 { };