nixpkgs/pkgs/development/libraries/botan/default.nix
2021-04-29 15:33:01 +02:00

17 lines
484 B
Nix

{ callPackage, ... } @ args:
callPackage ./generic.nix (args // {
baseVersion = "1.10";
revision = "17";
sha256 = "04rnha712dd3sdb2q7k2yw45sf405jyigk7yrjfr6bwd9fvgyiv8";
sourceExtension = "tgz";
extraConfigureFlags = "--with-gnump";
postPatch = ''
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
'';
knownVulnerabilities = [
# https://botan.randombit.net/security.html#id1
"2020-03-24: Side channel during CBC padding"
];
})