Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 42 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchPypi, setuptools, cmake, perl, stdenv,}:
buildPythonPackage (finalAttrs: { pname = "awscrt"; version = "0.31.3"; pyproject = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-FswDgO7wc6Ljfv8BqY8/IQjq1tu0qRnUD2VtsNitS3E="; };
build-system = [ setuptools ];
nativeBuildInputs = [ cmake ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ perl ];
hardeningDisable = [ "fortify" ]; # needed for jitterentropy
dontUseCmakeConfigure = true;
pythonImportsCheck = [ "awscrt" ];
# Unable to import test module # https://github.com/awslabs/aws-crt-python/issues/281 doCheck = false;
meta = { homepage = "https://github.com/awslabs/aws-crt-python"; changelog = "https://github.com/awslabs/aws-crt-python/releases/tag/v${finalAttrs.version}"; description = "Python bindings for the AWS Common Runtime"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ davegallant ]; };})