depot/third_party/nixpkgs/pkgs/by-name/ke/kew/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

39 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";
};
}