blob: 8e82b6ae0638afe9bc9103eeda7185bc1b0c2862 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
{ lib
, stdenv
, fetchFromGitHub
, which
, pkg-config
, zip
, imagemagick
, qt5
, taglib
, gst_all_1
}:
stdenv.mkDerivation rec {
pname = "nulloy";
version = "0.9.9";
src = fetchFromGitHub {
owner = "nulloy";
repo = "nulloy";
rev = version;
hash = "sha256-vFg789vBV7ks+4YiWWl3u0/kQjzpAiX8dMfXU0hynDM=";
};
nativeBuildInputs = [
which # used by configure script
pkg-config
zip
imagemagick
qt5.qttools
qt5.wrapQtAppsHook
];
buildInputs = [
qt5.qtscript
qt5.qtsvg
taglib
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
]);
prefixKey = "--prefix ";
enableParallelBuilding = true;
# FIXME: not added by gstreamer setup hook by default
preFixup = ''
qtWrapperArgs+=(
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
)
'';
meta = with lib; {
description = "Music player with a waveform progress bar";
homepage = "https://nulloy.com";
changelog = "https://github.com/nulloy/nulloy/blob/${src.rev}/ChangeLog";
license = licenses.gpl3Only;
mainProgram = "nulloy";
maintainers = with maintainers; [ aleksana ];
platforms = platforms.all;
broken = stdenv.isDarwin;
};
}
|