From a77b0d666588339939870e544155aba179530f51 Mon Sep 17 00:00:00 2001 From: Demine <51992962+Demine0@users.noreply.github.com> Date: Mon, 13 Nov 2023 19:02:29 +0300 Subject: [PATCH] kew: init at 1.5.2 (#267234) --- pkgs/by-name/ke/kew/package.nix | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkgs/by-name/ke/kew/package.nix diff --git a/pkgs/by-name/ke/kew/package.nix b/pkgs/by-name/ke/kew/package.nix new file mode 100644 index 000000000000..54f3f6717bd3 --- /dev/null +++ b/pkgs/by-name/ke/kew/package.nix @@ -0,0 +1,39 @@ +{ 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 = "A command-line music player for Linux"; + homepage = "https://github.com/ravachol/kew"; + platforms = platforms.linux; + license = licenses.gpl2Only; + maintainers = with maintainers; [ demine ]; + mainProgram = "kew"; + }; +}