depot/third_party/nixpkgs/pkgs/by-name/tc/tclcurl/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

33 lines
700 B
Nix

{
lib,
tcl,
fetchFromGitHub,
curl,
}:
tcl.mkTclDerivation rec {
pname = "tclcurl";
version = "7.22.1";
src = fetchFromGitHub {
owner = "flightaware";
repo = "tclcurl-fa";
rev = "refs/tags/v${version}";
hash = "sha256-XQuP+SiqvGX3ckBShUxsGBADjV3QdvYpU4hW6LMbMMQ=";
};
buildInputs = [ curl ];
# Uses curl-config
strictDeps = false;
makeFlags = [ "LDFLAGS=-lcurl" ];
meta = {
description = "Curl support in Tcl";
homepage = "https://github.com/flightaware/tclcurl-fa";
changelog = "https://github.com/flightaware/tclcurl-fa/blob/master/ChangeLog.txt";
license = lib.licenses.tcltk;
maintainers = with lib.maintainers; [ fgaz ];
};
}