mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
40 lines
804 B
Nix
40 lines
804 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, ffmpeg
|
|
, fftwFloat
|
|
, chafa
|
|
, freeimage
|
|
, glib
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kew";
|
|
version = "1.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ravachol";
|
|
repo = "kew";
|
|
rev = "v${version}";
|
|
hash = "sha256-Om7v8eTlYxXQYf1MG+L0I5ICQ2LS7onouhPGosuK8NM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ ffmpeg freeimage fftwFloat chafa glib ];
|
|
|
|
installFlags = [
|
|
"MAN_DIR=${placeholder "out"}/share/man"
|
|
"PREFIX=${placeholder "out"}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Command-line music player for Linux";
|
|
homepage = "https://github.com/ravachol/kew";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ demine ];
|
|
mainProgram = "kew";
|
|
};
|
|
}
|