diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2017-03-09 15:14:47 +0100 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2017-03-09 18:47:37 +0100 |
commit | 6962e84b8d9b8069d561709aab21fab15817996c (patch) | |
tree | 89dd8dc923c02ccdc955b889bf3814b1c470583c /pkgs/development/libraries/botan | |
parent | c3939cbcf54619b48cbfef16ae627248b0e22558 (diff) |
botan2: init at 2.0.1
Diffstat (limited to 'pkgs/development/libraries/botan')
-rw-r--r-- | pkgs/development/libraries/botan/2.0.nix | 10 | ||||
-rw-r--r-- | pkgs/development/libraries/botan/2.0.upstream | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/botan/2.0.nix b/pkgs/development/libraries/botan/2.0.nix new file mode 100644 index 000000000000..8d87f119157b --- /dev/null +++ b/pkgs/development/libraries/botan/2.0.nix @@ -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 + ''; +}) diff --git a/pkgs/development/libraries/botan/2.0.upstream b/pkgs/development/libraries/botan/2.0.upstream new file mode 100644 index 000000000000..d10850d46adc --- /dev/null +++ b/pkgs/development/libraries/botan/2.0.upstream @@ -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##*.} +} |