about summary refs log tree commit diff
path: root/pkgs/by-name/re/restls/package.nix
blob: c01e392190122797aa9ea7a903a3d752dbeb35c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ fetchFromGitHub
, rustPlatform
, lib
}:

rustPlatform.buildRustPackage rec{
  pname = "restls";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "3andne";
    repo = "restls";
    rev = "v${version}";
    hash = "sha256-nlQdBwxHVbpOmb9Wq+ap2i4KI1zJYT3SEqvedDbVH8Q=";
  };

  cargoHash = "sha256-KtNLLtStZ7SNndcPxWfNPA2duoXFVePrbNQFPUz2xFg=";

  meta = with lib; {
    homepage = "https://github.com/3andne/restls";
    description = "A Perfect Impersonation of TLS";
    license = licenses.bsd3;
    mainProgram = "restls";
    maintainers = with maintainers; [ oluceps ];
  };
}