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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "hackrf-${version}";
|
name = "hackrf-${version}";
|
||||||
version = "2017.02.1";
|
version = "2018.01.1";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "git://github.com/mossmann/hackrf";
|
owner = "mossmann";
|
||||||
rev = "refs/tags/v${version}";
|
repo = "hackrf";
|
||||||
sha256 = "16hd61icvzaciv7s9jpgm9c8q6m4mwvj97gxrb20sc65p5gjb7hv";
|
rev = "v${version}";
|
||||||
|
sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
Loading…
Reference in New Issue