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 }: 2 3 stdenv.mkDerivation { 4 pname = "kalibrate-rtl"; 5 - version = "2013-12-14"; 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"; 11 rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38"; 12 sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn"; 13 }; 14 15 nativeBuildInputs = [ autoreconfHook pkg-config ]; 16 buildInputs = [ fftw rtl-sdr libusb1 ]; 17 18 meta = with lib; { ··· 27 homepage = "https://github.com/steve-m/kalibrate-rtl"; 28 license = licenses.bsd2; 29 platforms = platforms.linux; 30 - maintainers = [ maintainers.bjornfor ]; 31 }; 32 }
··· 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, fftw, rtl-sdr, libusb1 }: 2 3 stdenv.mkDerivation { 4 pname = "kalibrate-rtl"; 5 + version = "unstable-2013-12-14"; 6 7 + src = fetchFromGitHub { 8 + owner = "steve-m"; 9 + repo = "kalibrate-rtl"; 10 rev = "aae11c8a8dc79692a94ccfee39ba01e8c8c05d38"; 11 sha256 = "1spbfflkqnw9s8317ppsf7b1nnkicqsmaqsnz1zf8i49ix70i6kn"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 + 16 buildInputs = [ fftw rtl-sdr libusb1 ]; 17 18 meta = with lib; { ··· 27 homepage = "https://github.com/steve-m/kalibrate-rtl"; 28 license = licenses.bsd2; 29 platforms = platforms.linux; 30 + maintainers = with maintainers; [ bjornfor ]; 31 }; 32 }