File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
pkgs/by-name/ka/karlyriceditor Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ stdenv ,
3+ lib ,
4+ fetchFromGitHub ,
5+ qt6 ,
6+ ffmpeg_4 ,
7+ pkg-config ,
8+ } :
9+
10+ stdenv . mkDerivation ( finalAttrs : {
11+ pname = "karlyriceditor" ;
12+ version = "3.3" ;
13+
14+ src = fetchFromGitHub {
15+ owner = "gyunaev" ;
16+ repo = "karlyriceditor" ;
17+ rev = finalAttrs . version ;
18+ hash = "sha256-i4uZtHxnreow7a5ZX6WCXMUSwgkUJS/1oDCJOgfFjHw=" ;
19+ } ;
20+
21+ nativeBuildInputs = [
22+ qt6 . wrapQtAppsHook
23+ qt6 . qmake
24+ pkg-config
25+ ] ;
26+
27+ buildInputs = [
28+ ffmpeg_4
29+ qt6 . qtmultimedia
30+ ] ;
31+
32+ installPhase = ''
33+ runHook preInstall
34+
35+ install -Dm755 bin/karlyriceditor $out/bin/karlyriceditor
36+ install -Dm644 packages/karlyriceditor.desktop $out/share/applications/karlyriceditor.desktop
37+ install -Dm644 packages/karlyriceditor.png $out/share/pixmaps/karlyriceditor.png
38+
39+ substituteInPlace $out/share/applications/karlyriceditor.desktop \
40+ --replace-fail 'Icon=/usr/share/pixmaps/karlyriceditor.png' 'Icon=karlyriceditor'
41+
42+ runHook postInstall
43+ '' ;
44+
45+ meta = {
46+ description = "Edit and synchronize lyrics with karaoke songs in various formats" ;
47+ homepage = "https://github.com/gyunaev/karlyriceditor" ;
48+ license = lib . licenses . gpl3Only ;
49+ maintainers = with lib . maintainers ; [
50+ DPDmancul
51+ ] ;
52+ mainProgram = "karlyricseditor" ;
53+ platforms = lib . platforms . linux ;
54+ } ;
55+ } )
You can’t perform that action at this time.
0 commit comments