17 buildPythonPackage rec {
18 pname = "paranoid-crypto";
19 version = "unstable-20220819";
20 format = "setuptools";
22 disabled = pythonOlder "3.9";
24 src = fetchFromGitHub {
26 repo = "paranoid_crypto";
27 # https://github.com/google/paranoid_crypto/issues/11
28 rev = "8abccc1619748b93979d1c26234b90d26e88a12e";
29 hash = "sha256-4yF7WAFAGGhvWTV/y5dGVA/+9r1dqrXU/0/6Edgw3ow=";
37 propagatedBuildInputs = [
52 substituteInPlace requirements.txt \
53 --replace "protobuf==3.20.*" "protobuf"
58 "paranoid_crypto/lib/randomness_tests/"
61 pythonImportsCheck = [ "paranoid_crypto" ];
64 description = "Library contains checks for well known weaknesses on cryptographic artifacts";
65 homepage = "https://github.com/google/paranoid_crypto";
66 license = with licenses; [ asl20 ];
67 maintainers = with maintainers; [ fab ];