about summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p/libutp
diff options
context:
space:
mode:
authorAngus Trau <me@angus.ws>2021-08-14 22:34:37 +1000
committerAngus Trau <me@angus.ws>2021-08-16 14:41:33 +1000
commitadc89ca60d3dada24549f00d65fe2fea1ce33c84 (patch)
treee281357e7997feb4f4859619e4b85949a7a75f45 /pkgs/applications/networking/p2p/libutp
parent54099a0676c1bc5c598dc475230d7c931a48abd4 (diff)
libutp: init at unstable-2017-01-02
Diffstat (limited to 'pkgs/applications/networking/p2p/libutp')
-rw-r--r--pkgs/applications/networking/p2p/libutp/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/libutp/default.nix b/pkgs/applications/networking/p2p/libutp/default.nix
new file mode 100644
index 0000000000000..6fba4faf50c05
--- /dev/null
+++ b/pkgs/applications/networking/p2p/libutp/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, lib, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+  pname = "libutp";
+  version = "unstable-2017-01-02";
+
+  src = fetchFromGitHub {
+    # Use transmission fork from post-3.3-transmission branch
+    owner = "transmission";
+    repo = pname;
+    rev = "fda9f4b3db97ccb243fcbed2ce280eb4135d705b";
+    sha256 = "CvuZLOBksIl/lS6LaqOIuzNvX3ihlIPjI3Eqwo7YJH0=";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = with lib; {
+    description = "uTorrent Transport Protocol library";
+    homepage = "https://github.com/transmission/libutp";
+    license = licenses.mit;
+    maintainers = with maintainers; [ angustrau ];
+    platforms = platforms.unix;
+  };
+}