mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
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;
|
|
};
|
|
}
|