kalibrate-rtl: switch to fetchFromGitHub

+7 -7
+7 -7
pkgs/applications/radio/kalibrate-rtl/default.nix
··· 1 - { lib, stdenv, fetchgit, autoreconfHook, pkg-config, fftw, rtl-sdr, libusb1 }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fftw, rtl-sdr, libusb1 }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "kalibrate-rtl"; 5 - version = "2013-12-14"; 5 + version = "unstable-2013-12-14"; 6 6 7 - # There are no tags/releases, so use the latest commit from git master. 8 - # Currently, the latest commit is from 2013-12-14. 9 - src = fetchgit { 10 - url = "https://github.com/steve-m/kalibrate-rtl.git"; 7 + src = fetchFromGitHub { 8 + owner = "steve-m"; 9 + repo = "kalibrate-rtl"; 11 10 rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38"; 12 11 sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn"; 13 12 }; 14 13 15 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 + 16 16 buildInputs = [ fftw rtl-sdr libusb1 ]; 17 17 18 18 meta = with lib; { ··· 27 27 homepage = "https://github.com/steve-m/kalibrate-rtl"; 28 28 license = licenses.bsd2; 29 29 platforms = platforms.linux; 30 - maintainers = [ maintainers.bjornfor ]; 30 + maintainers = with maintainers; [ bjornfor ]; 31 31 }; 32 32 }