Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

38 lines
837 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
cmake,
unstableGitUpdater,
}:
stdenv.mkDerivation {
pname = "libutp";
version = "0-unstable-2024-11-16";
src = fetchFromGitHub {
# Use transmission fork from post-3.4-transmission branch
owner = "transmission";
repo = "libutp";
rev = "490874c44a2ecf914404b0a20e043c9755fff47b";
hash = "sha256-ArUOr392s/rIplthSmHYXnqhO6i1PkkGV1jmQPQL7Yg=";
};
nativeBuildInputs = [ cmake ];
passthru = {
updateScript = unstableGitUpdater {
branch = "post-3.4-transmission";
};
};
meta = with lib; {
description = "uTorrent Transport Protocol library";
mainProgram = "ucat";
homepage = "https://github.com/transmission/libutp";
license = licenses.mit;
maintainers = with maintainers; [ emilytrau ];
platforms = platforms.unix;
};
}