mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
4630fcf686
In botan 2.11.0 the upstream switched to tar.xz archives. To continue supporting botan1 the source package extension can now be overriden from within the specialized package. Addresses two advisories, neither of which received a CVE: - 2020-07-05: Failure to enforce name constraints on alternative names - 2020-03-24: Side channel during CBC padding
11 lines
282 B
Nix
11 lines
282 B
Nix
{ callPackage, ... } @ args:
|
|
|
|
callPackage ./generic.nix (args // {
|
|
baseVersion = "2.17";
|
|
revision = "2";
|
|
sha256 = "0v0yiq0qxcrsn5b34j6bz8i6pds8dih2ds90ylmy1msm5gz7vqpb";
|
|
postPatch = ''
|
|
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
|
'';
|
|
})
|