1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/applications/misc/soapyhackrf/default.nix
R. RyanTM c521ad3528 soapyhackrf: 0.3.2 -> 0.3.3 (#40643)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/soapyhackrf/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- directory tree listing: https://gist.github.com/2cb235b01daec8f6f3de0f0217e17bda
- du listing: https://gist.github.com/4ad265d40e6ea8558f6cccfbfb8d9d35
2018-05-17 22:14:13 +02:00

31 lines
760 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig
, hackrf, soapysdr
} :
let
version = "0.3.3";
in stdenv.mkDerivation {
name = "soapyhackrf-${version}";
src = fetchFromGitHub {
owner = "pothosware";
repo = "SoapyHackRF";
rev = "soapy-hackrf-${version}";
sha256 = "1awn89z462500gb3fjb7x61b1znkjri9n1d39bqfip1qk4s11pxc";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ hackrf soapysdr ];
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
meta = with stdenv.lib; {
homepage = https://github.com/pothosware/SoapyHackRF;
description = "SoapySDR plugin for HackRF devices";
license = licenses.mit;
maintainers = with maintainers; [ markuskowa ];
platforms = platforms.linux;
};
}