9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
14 owner = "rockymadden";
17 sha256 = "1h5p9qsczgfr450sklh2vkllcpzb7nicbs8ciyvkavh3d7hds0yy";
20 nativeBuildInputs = [ makeWrapper ];
23 install -m0755 -D src/somafm $out/bin/somafm
24 wrapProgram $out/bin/somafm --prefix PATH ":" "${lib.makeBinPath [ curl jq mpv ]}";
28 description = "Listen to SomaFM in your terminal via pure bash";
29 homepage = "https://github.com/rockymadden/somafm-cli";
30 license = licenses.mit;
31 platforms = platforms.all;
32 maintainers = with maintainers; [ SuperSandro2000 ];
33 mainProgram = "somafm";