mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
commit
001ff312ad
@ -4,7 +4,4 @@ callPackage ./generic.nix (args // {
|
||||
baseVersion = "2.19";
|
||||
revision = "3";
|
||||
sha256 = "sha256-2uBH85nFpH8IfbXT2dno8RrkmF0UySjXHaGv+AGALVU=";
|
||||
postPatch = ''
|
||||
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
||||
'';
|
||||
})
|
||||
|
9
pkgs/development/libraries/botan/3.0.nix
Normal file
9
pkgs/development/libraries/botan/3.0.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ callPackage, fetchpatch, lib, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
baseVersion = "3.1";
|
||||
revision = "1";
|
||||
sha256 = "sha256-MMhP6RmTapj+9TMfJGxiqiwOTSCFstRREgf2ogr6Oms=";
|
||||
# reconsider removing this platform marking, when MacOS uses Clang 14.0+ by default.
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
})
|
@ -4,10 +4,11 @@
|
||||
, sourceExtension ? "tar.xz"
|
||||
, extraConfigureFlags ? ""
|
||||
, extraPatches ? [ ]
|
||||
, badPlatforms ? [ ]
|
||||
, postPatch ? null
|
||||
, knownVulnerabilities ? [ ]
|
||||
, CoreServices
|
||||
, Security
|
||||
, CoreServices ? null
|
||||
, Security ? null
|
||||
, ...
|
||||
}:
|
||||
|
||||
@ -54,9 +55,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cryptographic algorithms library";
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
maintainers = with maintainers; [ raskin thillux ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.bsd2;
|
||||
inherit badPlatforms;
|
||||
inherit knownVulnerabilities;
|
||||
};
|
||||
passthru.updateInfo.downloadPage = "http://files.randombit.net/botan/";
|
||||
|
@ -20351,6 +20351,9 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
||||
};
|
||||
|
||||
# may add CoreServices and Security again, when MacOS uses Clang 14.0+ by default.
|
||||
botan3 = callPackage ../development/libraries/botan/3.0.nix { };
|
||||
|
||||
box2d = callPackage ../development/libraries/box2d { };
|
||||
|
||||
boxfort = callPackage ../development/libraries/boxfort { };
|
||||
|
Loading…
Reference in New Issue
Block a user