blob: 54f3f6717bd3b1369fea5b3c60991621d1730f44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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";
};
}
|