depot/third_party/nixpkgs/pkgs/by-name/re/restls/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

29 lines
703 B
Nix

{
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=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-hub64iZNVw/BJjibtDnJ3boIU27DEbYSlMLhFFVJ9ps=";
meta = with lib; {
homepage = "https://github.com/3andne/restls";
changelog = "https://github.com/3andne/restls/releases/tag/${src.rev}";
description = "Perfect Impersonation of TLS";
license = licenses.bsd3;
mainProgram = "restls";
maintainers = with maintainers; [ oluceps ];
};
}