mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
hackrf: new package
This commit is contained in:
parent
9f337e8cc7
commit
816cca89b6
28
pkgs/applications/misc/hackrf/default.nix
Normal file
28
pkgs/applications/misc/hackrf/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchgit, cmake, pkgconfig, libusb }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hackrf-${version}";
|
||||
version = "2014.08.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/mossmann/hackrf";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "1f3mmzyn6qqbl02h6dkz0zybppihqgpdxjgqmkb1pn3i0d98ydb3";
|
||||
};
|
||||
|
||||
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.linux;
|
||||
maintainers = [ maintainers.sjmackenzie ];
|
||||
};
|
||||
}
|
@ -11078,6 +11078,8 @@ let
|
||||
|
||||
guvcview = callPackage ../os-specific/linux/guvcview { };
|
||||
|
||||
hackrf = callPackage ../applications/misc/hackrf { };
|
||||
|
||||
hello = callPackage ../applications/misc/hello/ex-2 { };
|
||||
|
||||
helmholtz = callPackage ../applications/audio/pd-plugins/helmholtz { };
|
||||
|
Loading…
Reference in New Issue
Block a user