mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
kalibrate-rtl: switch to fetchFromGitHub
This commit is contained in:
parent
e97c0f6281
commit
c135faf682
@ -1,18 +1,18 @@
|
|||||||
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, fftw, rtl-sdr, libusb1 }:
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fftw, rtl-sdr, libusb1 }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "kalibrate-rtl";
|
pname = "kalibrate-rtl";
|
||||||
version = "2013-12-14";
|
version = "unstable-2013-12-14";
|
||||||
|
|
||||||
# There are no tags/releases, so use the latest commit from git master.
|
src = fetchFromGitHub {
|
||||||
# Currently, the latest commit is from 2013-12-14.
|
owner = "steve-m";
|
||||||
src = fetchgit {
|
repo = "kalibrate-rtl";
|
||||||
url = "https://github.com/steve-m/kalibrate-rtl.git";
|
|
||||||
rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38";
|
rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38";
|
||||||
sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn";
|
sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ fftw rtl-sdr libusb1 ];
|
buildInputs = [ fftw rtl-sdr libusb1 ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
@ -27,6 +27,6 @@ stdenv.mkDerivation {
|
|||||||
homepage = "https://github.com/steve-m/kalibrate-rtl";
|
homepage = "https://github.com/steve-m/kalibrate-rtl";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.bjornfor ];
|
maintainers = with maintainers; [ bjornfor ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user