From c135faf682cac7851dea181ab975b1ec38673c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 9 Nov 2021 10:20:37 +0100 Subject: [PATCH] kalibrate-rtl: switch to fetchFromGitHub --- pkgs/applications/radio/kalibrate-rtl/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/radio/kalibrate-rtl/default.nix b/pkgs/applications/radio/kalibrate-rtl/default.nix index 53b58adb9972..4fe9ad086781 100644 --- a/pkgs/applications/radio/kalibrate-rtl/default.nix +++ b/pkgs/applications/radio/kalibrate-rtl/default.nix @@ -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 { 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. - # Currently, the latest commit is from 2013-12-14. - src = fetchgit { - url = "https://github.com/steve-m/kalibrate-rtl.git"; + src = fetchFromGitHub { + owner = "steve-m"; + repo = "kalibrate-rtl"; rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38"; sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn"; }; nativeBuildInputs = [ autoreconfHook pkg-config ]; + buildInputs = [ fftw rtl-sdr libusb1 ]; meta = with lib; { @@ -27,6 +27,6 @@ stdenv.mkDerivation { homepage = "https://github.com/steve-m/kalibrate-rtl"; license = licenses.bsd2; platforms = platforms.linux; - maintainers = [ maintainers.bjornfor ]; + maintainers = with maintainers; [ bjornfor ]; }; }