Merge pull request #168143 from doronbehar/pkg/gnuradio

This commit is contained in:
Franz Pletz 2022-04-11 20:57:49 +02:00 committed by GitHub
commit 473e6fa689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 5 deletions

View File

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, armadillo
, cmake
, gmp
@ -34,6 +35,11 @@ gnuradio.pkgs.mkDerivation rec {
# cpu_features which is bundled in the source. NOTE: Perhaps this patch
# should be sent upstream.
./fix_libcpu_features_install_path.patch
# Fixes a compilation issue, should be removed on next release.
(fetchpatch {
url = "https://github.com/gnss-sdr/gnss-sdr/commit/8a42967c854e575f2dd9ee7ca81a2522eebb864b.patch";
sha256 = "sha256-W8BwC08QVtW0LUj5Q+j28aYG+713s+vQIzsWyrNUs1Q=";
})
];
nativeBuildInputs = [

View File

@ -46,13 +46,13 @@
, pname ? "gnuradio"
, versionAttr ? {
major = "3.9";
minor = "5";
minor = "6";
patch = "0";
}
}:
let
sourceSha256 = "sha256-TWCXLoS+ImKNd2zkxMks4FXsQMvGKgcW5/MW8S1Y1TY=";
sourceSha256 = "sha256-0JODgv9MNOkHDQYTVCZMzjr/G542+NvGP9wlH9iwLeg=";
featuresInfo = {
# Needed always
basic = {
@ -134,6 +134,12 @@ let
];
cmakeEnableFlag = "GRC";
};
jsonyaml_blocks = {
pythonRuntime = [
python.pkgs.jsonschema
];
cmakeEnableFlag = "JSONYAML_BLOCKS";
};
gr-blocks = {
cmakeEnableFlag = "GR_BLOCKS";
};

View File

@ -48,13 +48,13 @@
, pname ? "gnuradio"
, versionAttr ? {
major = "3.10";
minor = "1";
patch = "1";
minor = "2";
patch = "0";
}
}:
let
sourceSha256 = "sha256-vsAK+GQzcpA9Vsa6q4RFEzVpbF7/+yZkMsemKn6VhIg=";
sourceSha256 = "sha256-WcfmW39wHhFdpbdBSjOfuDkxL8/fuMjjJoLUyCUud/o=";
featuresInfo = {
# Needed always
basic = {
@ -136,6 +136,12 @@ let
];
cmakeEnableFlag = "GRC";
};
jsonyaml_blocks = {
pythonRuntime = [
python.pkgs.jsonschema
];
cmakeEnableFlag = "JSONYAML_BLOCKS";
};
gr-blocks = {
cmakeEnableFlag = "GR_BLOCKS";
};
@ -221,6 +227,7 @@ let
setuptools
click
click-plugins
pygccxml
];
cmakeEnableFlag = "GR_MODTOOL";
};