kew: init at 1.5.2 (#267234)

This commit is contained in:
Demine 2023-11-13 19:02:29 +03:00 committed by GitHub
parent 3c19b6d4c2
commit a77b0d6665
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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