mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +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
13 lines
350 B
Nix
13 lines
350 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
|
|
'';
|
|
})
|