nixpkgs/pkgs/applications/networking/p2p/libutp/3.4.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
799 B
Nix
Raw Normal View History

2023-07-02 18:11:11 +00:00
{ stdenv, lib, fetchFromGitHub, cmake, unstableGitUpdater }:
stdenv.mkDerivation rec {
pname = "libutp";
version = "unstable-2023-10-16";
2023-07-02 18:11:11 +00:00
src = fetchFromGitHub {
# Use transmission fork from post-3.4-transmission branch
owner = "transmission";
repo = pname;
rev = "2589200eac82fc91b65979680e4b3c026dff0278";
hash = "sha256-wsDqdbMWVm3ubTbg5XClEWutJz1irSIazVLFeCyAAL4=";
2023-07-02 18:11:11 +00:00
};
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;
};
}