commit
67e7d1170b
|
@ -1,9 +1,9 @@
|
||||||
{ callPackage, ... } @ args:
|
{ callPackage, ... } @ args:
|
||||||
|
|
||||||
callPackage ./generic.nix (args // {
|
callPackage ./generic.nix (args // {
|
||||||
baseVersion = "2.9";
|
baseVersion = "2.17";
|
||||||
revision = "0";
|
revision = "2";
|
||||||
sha256 = "06fiyalvc68p11qqh953azx2vrbav5vr00yvcfp67p9l4csn8m9h";
|
sha256 = "0v0yiq0qxcrsn5b34j6bz8i6pds8dih2ds90ylmy1msm5gz7vqpb";
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -4,6 +4,7 @@ callPackage ./generic.nix (args // {
|
||||||
baseVersion = "1.10";
|
baseVersion = "1.10";
|
||||||
revision = "17";
|
revision = "17";
|
||||||
sha256 = "04rnha712dd3sdb2q7k2yw45sf405jyigk7yrjfr6bwd9fvgyiv8";
|
sha256 = "04rnha712dd3sdb2q7k2yw45sf405jyigk7yrjfr6bwd9fvgyiv8";
|
||||||
|
sourceExtension = "tgz";
|
||||||
extraConfigureFlags = "--with-gnump";
|
extraConfigureFlags = "--with-gnump";
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
sed -e 's@lang_flags "@&--std=c++11 @' -i src/build-data/cc/{gcc,clang}.txt
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv, fetchurl, python, bzip2, zlib, gmp, openssl, boost
|
{ stdenv, fetchurl, python, bzip2, zlib, gmp, openssl, boost
|
||||||
# Passed by version specific builders
|
# Passed by version specific builders
|
||||||
, baseVersion, revision, sha256
|
, baseVersion, revision, sha256
|
||||||
|
, sourceExtension ? "tar.xz"
|
||||||
, extraConfigureFlags ? ""
|
, extraConfigureFlags ? ""
|
||||||
, postPatch ? null
|
, postPatch ? null
|
||||||
, darwin
|
, darwin
|
||||||
|
@ -12,10 +13,10 @@ stdenv.mkDerivation rec {
|
||||||
version = "${baseVersion}.${revision}";
|
version = "${baseVersion}.${revision}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "Botan-${version}.tgz";
|
name = "Botan-${version}.${sourceExtension}";
|
||||||
urls = [
|
urls = [
|
||||||
"http://files.randombit.net/botan/v${baseVersion}/Botan-${version}.tgz"
|
"http://files.randombit.net/botan/v${baseVersion}/Botan-${version}.${sourceExtension}"
|
||||||
"http://botan.randombit.net/releases/Botan-${version}.tgz"
|
"http://botan.randombit.net/releases/Botan-${version}.${sourceExtension}"
|
||||||
];
|
];
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,5 +44,6 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
maintainers = with maintainers; [ erictapen ];
|
maintainers = with maintainers; [ erictapen ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
broken = true; # fails to build with recent versions of botan. https://github.com/das-labor/neopg/issues/98
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue