mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
karlyriceditor: init at 3.3
This commit is contained in:
parent
6b1a92f5a4
commit
0625ffaf9d
1 changed files with 55 additions and 0 deletions
55
pkgs/by-name/ka/karlyriceditor/package.nix
Normal file
55
pkgs/by-name/ka/karlyriceditor/package.nix
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
qt6,
|
||||||
|
ffmpeg_4,
|
||||||
|
pkg-config,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "karlyriceditor";
|
||||||
|
version = "3.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gyunaev";
|
||||||
|
repo = "karlyriceditor";
|
||||||
|
rev = finalAttrs.version;
|
||||||
|
hash = "sha256-i4uZtHxnreow7a5ZX6WCXMUSwgkUJS/1oDCJOgfFjHw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
qt6.wrapQtAppsHook
|
||||||
|
qt6.qmake
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
ffmpeg_4
|
||||||
|
qt6.qtmultimedia
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm755 bin/karlyriceditor $out/bin/karlyriceditor
|
||||||
|
install -Dm644 packages/karlyriceditor.desktop $out/share/applications/karlyriceditor.desktop
|
||||||
|
install -Dm644 packages/karlyriceditor.png $out/share/pixmaps/karlyriceditor.png
|
||||||
|
|
||||||
|
substituteInPlace $out/share/applications/karlyriceditor.desktop \
|
||||||
|
--replace-fail 'Icon=/usr/share/pixmaps/karlyriceditor.png' 'Icon=karlyriceditor'
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Edit and synchronize lyrics with karaoke songs in various formats";
|
||||||
|
homepage = "https://github.com/gyunaev/karlyriceditor";
|
||||||
|
license = lib.licenses.gpl3Only;
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
DPDmancul
|
||||||
|
];
|
||||||
|
mainProgram = "karlyricseditor";
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue