forked from mirrors/nixpkgs
25 lines
666 B
Nix
25 lines
666 B
Nix
{ 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; [ emilytrau ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|