2020-10-16 21:31:20 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, cppunit
|
|
|
|
, swig
|
|
|
|
, boost
|
|
|
|
, log4cpp
|
|
|
|
, python
|
|
|
|
, libsodium
|
2015-11-04 14:42:01 +00:00
|
|
|
}:
|
|
|
|
|
2020-10-16 21:31:20 +01:00
|
|
|
mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gr-nacl";
|
2018-09-22 18:56:48 +01:00
|
|
|
version = "2017-04-10";
|
2015-11-04 14:42:01 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stwunsch";
|
|
|
|
repo = "gr-nacl";
|
2018-09-22 18:56:48 +01:00
|
|
|
rev = "15276bb0fcabf5fe4de4e58df3d579b5be0e9765";
|
|
|
|
sha256 = "018np0qlk61l7mlv3xxx5cj1rax8f1vqrsrch3higsl25yydbv7v";
|
2015-11-04 14:42:01 +00:00
|
|
|
};
|
2020-10-16 21:31:20 +01:00
|
|
|
disabledForGRafter = "3.8";
|
2015-11-04 14:42:01 +00:00
|
|
|
|
2020-10-16 21:31:20 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
swig
|
|
|
|
python
|
|
|
|
];
|
2015-11-04 14:42:01 +00:00
|
|
|
|
2020-10-16 21:31:20 +01:00
|
|
|
buildInputs = [
|
|
|
|
cppunit
|
|
|
|
log4cpp
|
|
|
|
boost
|
|
|
|
libsodium
|
|
|
|
];
|
2015-11-04 14:42:01 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-11-04 14:42:01 +00:00
|
|
|
description = "Gnuradio block for encryption";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/stwunsch/gr-nacl";
|
2015-11-04 14:42:01 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2017-07-15 01:26:42 +01:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2015-11-04 14:42:01 +00:00
|
|
|
maintainers = with maintainers; [ mog ];
|
|
|
|
};
|
|
|
|
}
|