mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
hackrf: 2017.02.1 -> 2018.01.1
Use fetchFromGitHub instead of fetchgit
This commit is contained in:
parent
b560dd9047
commit
e32d63223b
|
@ -1,13 +1,14 @@
|
|||
{ stdenv, fetchgit, cmake, pkgconfig, libusb, fftwSinglePrec }:
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libusb, fftwSinglePrec }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hackrf-${version}";
|
||||
version = "2017.02.1";
|
||||
version = "2018.01.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/mossmann/hackrf";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "16hd61icvzaciv7s9jpgm9c8q6m4mwvj97gxrb20sc65p5gjb7hv";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mossmann";
|
||||
repo = "hackrf";
|
||||
rev = "v${version}";
|
||||
sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
|
Loading…
Reference in a new issue