diff options
author | Charlotte Van Petegem <charlotte@vanpetegem.me> | 2023-07-02 20:11:11 +0200 |
---|---|---|
committer | Charlotte Van Petegem <charlotte.vanpetegem@ugent.be> | 2023-07-03 11:39:47 +0200 |
commit | d5188368ce62dca0821b5a157f9d7d6124d0cc82 (patch) | |
tree | df84c472543d7d2973b507e07cd84233976550cc /pkgs/applications/networking/p2p | |
parent | a10db1930cbdfbee274abd0a80ac4226295e4696 (diff) |
libutp_3_4: init at 3.4
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r-- | pkgs/applications/networking/p2p/libutp/3.4.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/libutp/3.4.nix b/pkgs/applications/networking/p2p/libutp/3.4.nix new file mode 100644 index 0000000000000..4ea4ebbb2dc4e --- /dev/null +++ b/pkgs/applications/networking/p2p/libutp/3.4.nix @@ -0,0 +1,30 @@ +{ stdenv, lib, fetchFromGitHub, cmake, unstableGitUpdater }: + +stdenv.mkDerivation rec { + pname = "libutp"; + version = "unstable-2023-03-05"; + + src = fetchFromGitHub { + # Use transmission fork from post-3.4-transmission branch + owner = "transmission"; + repo = pname; + rev = "9cb9f9c4f0073d78b08d6542cebaea6564ecadfe"; + hash = "sha256-dpbX1h/gpuVIAXC4hwwuRwQDJ0pwVVEsgemOVN0Dv9Q="; + }; + + nativeBuildInputs = [ cmake ]; + + passthru = { + updateScript = unstableGitUpdater { + branch = "post-3.4-transmission"; + }; + }; + + meta = with lib; { + description = "uTorrent Transport Protocol library"; + homepage = "https://github.com/transmission/libutp"; + license = licenses.mit; + maintainers = with maintainers; [ emilytrau ]; + platforms = platforms.unix; + }; +} |