mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
2d08e55e9b
- Write a `mkDerivation` and `mkDerivationWith` function for gnuradio, like qt5. - qradiolink, gqrx: Use gnuradio's callPackage and mkDerivation. - Use gnuradio.callPackage to define all gnuradio.pkgs. - Move all gnuradio packages expressions to pkgs/development/gnuradio-modules/ - modeled after Python's. - Add more paths to gnuradio's wrapper - add the extra packages as python modules, and add their executables with proper env vars wrapping. Co-authored-by: Frederik Rietdijk <fridh@fridh.nl>
47 lines
824 B
Nix
47 lines
824 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, cppunit
|
|
, swig
|
|
, boost
|
|
, log4cpp
|
|
, python
|
|
, libsodium
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "gr-nacl";
|
|
version = "2017-04-10";
|
|
src = fetchFromGitHub {
|
|
owner = "stwunsch";
|
|
repo = "gr-nacl";
|
|
rev = "15276bb0fcabf5fe4de4e58df3d579b5be0e9765";
|
|
sha256 = "018np0qlk61l7mlv3xxx5cj1rax8f1vqrsrch3higsl25yydbv7v";
|
|
};
|
|
disabledForGRafter = "3.8";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
swig
|
|
python
|
|
];
|
|
|
|
buildInputs = [
|
|
cppunit
|
|
log4cpp
|
|
boost
|
|
libsodium
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Gnuradio block for encryption";
|
|
homepage = "https://github.com/stwunsch/gr-nacl";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [ mog ];
|
|
};
|
|
}
|