volk: init at 2.4.1

+53
+51
pkgs/development/libraries/volk/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , cmake 6 + , cppunit 7 + , python3 8 + , enableModTool ? true 9 + , removeReferencesTo 10 + }: 11 + 12 + stdenv.mkDerivation rec { 13 + pname = "volk"; 14 + version = "2.4.1"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "gnuradio"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + sha256 = "fuHJ+p5VN4ThdbQFbzB08VCuy/Zo7m/I1Gs5EQGPeNY="; 21 + fetchSubmodules = true; 22 + }; 23 + 24 + patches = [ 25 + # Fixes a failing test: https://github.com/gnuradio/volk/pull/434 26 + (fetchpatch { 27 + url = "https://github.com/gnuradio/volk/pull/434/commits/bce8531b6f1a3c5abe946ed6674b283d54258281.patch"; 28 + sha256 = "OLW9uF6iL47z63kjvYqwsWtkINav8Xhs+Htqg6Kr4uI="; 29 + }) 30 + ]; 31 + cmakeFlags = lib.optionals (!enableModTool) [ "-DENABLE_MODTOOL=OFF" ]; 32 + postInstall = '' 33 + ${removeReferencesTo}/bin/remove-references-to -t ${stdenv.cc} $(readlink -f $out/lib/libvolk.so) 34 + ''; 35 + 36 + nativeBuildInputs = [ 37 + cmake 38 + python3 39 + python3.pkgs.Mako 40 + ]; 41 + 42 + doCheck = true; 43 + 44 + meta = with lib; { 45 + homepage = "http://libvolk.org/"; 46 + description = "The Vector Optimized Library of Kernels"; 47 + license = licenses.gpl3Plus; 48 + maintainers = with maintainers; [ doronbehar ]; 49 + platforms = platforms.all; 50 + }; 51 + }
+2
pkgs/top-level/all-packages.nix
··· 3953 3953 3954 3954 volctl = callPackage ../tools/audio/volctl { }; 3955 3955 3956 + volk = callPackage ../development/libraries/volk { }; 3957 + 3956 3958 vorta = libsForQt5.callPackage ../applications/backup/vorta { }; 3957 3959 3958 3960 utahfs = callPackage ../applications/networking/utahfs { };