1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/applications/misc/hackrf/default.nix
2015-10-31 23:47:49 +01:00

29 lines
662 B
Nix

{ stdenv, fetchgit, cmake, pkgconfig, libusb }:
stdenv.mkDerivation rec {
name = "hackrf-${version}";
version = "2015.07.2";
src = fetchgit {
url = "git://github.com/mossmann/hackrf";
rev = "refs/tags/v${version}";
sha256 = "0wa4m0kdq8q2ib724w8ry8shmmm1liaaawhjygrjx6zxz9jxr3vm";
};
buildInputs = [
cmake pkgconfig libusb
];
preConfigure = ''
cd host
'';
meta = with stdenv.lib; {
description = "An open source SDR platform";
homepage = http://greatscottgadgets.com/hackrf/;
license = licenses.gpl2;
platforms = platforms.all;
maintainers = with maintainers; [ sjmackenzie the-kenny ];
};
}