somafm-cli: init at 0.3.1
This commit is contained in:
parent
d2eac481bf
commit
7b0cebf7c8
2 changed files with 35 additions and 0 deletions
33
pkgs/tools/misc/somafm-cli/default.nix
Normal file
33
pkgs/tools/misc/somafm-cli/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, curl
|
||||
, jq
|
||||
, mpv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "somafm-cli";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rockymadden";
|
||||
repo = "somafm-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "1h5p9qsczgfr450sklh2vkllcpzb7nicbs8ciyvkavh3d7hds0yy";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
install -m0755 -D src/somafm $out/bin/somafm
|
||||
wrapProgram $out/bin/somafm --prefix PATH ":" "${stdenv.lib.makeBinPath [ curl jq mpv ]}";
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Listen to SomaFM in your terminal via pure bash";
|
||||
homepage = "https://github.com/rockymadden/somafm-cli";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
|
@ -25648,6 +25648,8 @@ in
|
|||
|
||||
snpeff = callPackage ../applications/science/biology/snpeff { };
|
||||
|
||||
somafm-cli = callPackage ../tools/misc/somafm-cli/default.nix { };
|
||||
|
||||
somatic-sniper = callPackage ../applications/science/biology/somatic-sniper { };
|
||||
|
||||
sortmerna = callPackage ../applications/science/biology/sortmerna { };
|
||||
|
|
Loading…
Reference in a new issue