mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
botan2: init at 2.0.1
This commit is contained in:
parent
c3939cbcf5
commit
6962e84b8d
10
pkgs/development/libraries/botan/2.0.nix
Normal file
10
pkgs/development/libraries/botan/2.0.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
baseVersion = "2.0";
|
||||
revision = "1";
|
||||
sha256 = "02sf6qghgs1lmprx715dnyll1rmqcjb9q6s50n20li8idlqysf51";
|
||||
postPatch = ''
|
||||
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
||||
'';
|
||||
})
|
10
pkgs/development/libraries/botan/2.0.upstream
Normal file
10
pkgs/development/libraries/botan/2.0.upstream
Normal file
@ -0,0 +1,10 @@
|
||||
url http://botan.randombit.net/download.html
|
||||
version_link 'Botan-[0-9]+[.][0-9]*[02468]([.][0-9]+)?[.](tgz|tbz|tbz2|tar[.]bz2)$'
|
||||
ensure_version
|
||||
attribute_name botan2
|
||||
do_overwrite(){
|
||||
ensure_hash
|
||||
set_var_value sha256 $CURRENT_HASH
|
||||
set_var_value baseVersion ${CURRENT_VERSION%.*}
|
||||
set_var_value revision ${CURRENT_VERSION##*.}
|
||||
}
|
@ -7001,6 +7001,7 @@ with pkgs;
|
||||
boost_process = callPackage ../development/libraries/boost-process { };
|
||||
|
||||
botan = callPackage ../development/libraries/botan { };
|
||||
botan2 = callPackage ../development/libraries/botan/2.0.nix { };
|
||||
botanUnstable = callPackage ../development/libraries/botan/unstable.nix { };
|
||||
|
||||
box2d = callPackage ../development/libraries/box2d { };
|
||||
|
Loading…
Reference in New Issue
Block a user