Merge pull request #153338 from prusnak/mkp224o-darwin

mkp224o: enable build on darwin
This commit is contained in:
Pavol Rusnak 2022-01-03 19:58:51 +01:00 committed by GitHub
commit 834ec131f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
{ suffix = "donna"; configureFlags = ["--enable-donna"]; } { suffix = "donna"; configureFlags = ["--enable-donna"]; }
] ++ lib.optionals stdenv.hostPlatform.isx86 [ ] ++ lib.optionals stdenv.hostPlatform.isx86 [
{ suffix = "donna-sse2"; configureFlags = ["--enable-donna-sse2"]; } { suffix = "donna-sse2"; configureFlags = ["--enable-donna-sse2"]; }
] ++ lib.optionals stdenv.isx86_64 [ ] ++ lib.optionals (!stdenv.isDarwin && stdenv.isx86_64) [
{ suffix = "amd64-51-30k"; configureFlags = ["--enable-amd64-51-30k"]; } { suffix = "amd64-51-30k"; configureFlags = ["--enable-amd64-51-30k"]; }
{ suffix = "amd64-64-20k"; configureFlags = ["--enable-amd64-64-24k"]; } { suffix = "amd64-64-20k"; configureFlags = ["--enable-amd64-64-24k"]; }
]; ];
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
description = "Vanity address generator for tor onion v3 (ed25519) hidden services"; description = "Vanity address generator for tor onion v3 (ed25519) hidden services";
homepage = "http://cathug2kyi4ilneggumrenayhuhsvrgn6qv2y47bgeet42iivkpynqad.onion/"; homepage = "http://cathug2kyi4ilneggumrenayhuhsvrgn6qv2y47bgeet42iivkpynqad.onion/";
license = licenses.cc0; license = licenses.cc0;
platforms = platforms.linux; platforms = platforms.unix;
maintainers = with maintainers; [ volth ]; maintainers = with maintainers; [ volth ];
}; };
} }