2020-01-03 18:24:59 +01:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, python3Packages, pyqtwebengine, lilypond }:
|
2014-10-24 15:35:30 +02:00
|
|
|
|
2020-01-03 18:24:59 +01:00
|
|
|
buildPythonApplication rec {
|
2020-03-29 12:34:50 +02:00
|
|
|
pname = "frescobaldi";
|
2020-02-09 06:24:06 +01:00
|
|
|
version = "3.1.1";
|
2014-10-24 15:35:30 +02:00
|
|
|
|
2018-03-31 17:03:17 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wbsoft";
|
|
|
|
repo = "frescobaldi";
|
|
|
|
rev = "v${version}";
|
2020-02-09 06:24:06 +01:00
|
|
|
sha256 = "07hjlq29npasn2bsb3qrzr1gikyvcc85avx0sxybfih329bvjk03";
|
2014-10-24 15:35:30 +02:00
|
|
|
};
|
|
|
|
|
2018-12-12 01:40:28 +01:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2018-12-30 04:54:03 +01:00
|
|
|
lilypond pygame python-ly sip
|
2020-01-03 18:24:59 +01:00
|
|
|
pyqt5 poppler-qt5
|
|
|
|
pyqtwebengine
|
2018-12-12 01:40:28 +01:00
|
|
|
];
|
2014-10-24 15:35:30 +02:00
|
|
|
|
2020-01-03 18:24:59 +01:00
|
|
|
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
|
|
|
|
|
2018-03-31 17:03:17 +02:00
|
|
|
# no tests in shipped with upstream
|
|
|
|
doCheck = false;
|
2014-10-24 15:35:30 +02:00
|
|
|
|
2020-01-03 18:24:59 +01:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
makeWrapperArgs = [
|
|
|
|
"\${qtWrapperArgs[@]}"
|
|
|
|
];
|
|
|
|
|
2018-03-31 17:03:17 +02:00
|
|
|
meta = with lib; {
|
2020-03-28 00:05:50 +01:00
|
|
|
homepage = "https://frescobaldi.org/";
|
2014-10-24 15:35:30 +02:00
|
|
|
description = ''Frescobaldi is a LilyPond sheet music text editor'';
|
|
|
|
longDescription = ''
|
2014-10-24 16:13:20 +02:00
|
|
|
Powerful text editor with syntax highlighting and automatic completion,
|
|
|
|
Music view with advanced Point & Click, Midi player to proof-listen
|
|
|
|
LilyPond-generated MIDI files, Midi capturing to enter music,
|
|
|
|
Powerful Score Wizard to quickly setup a music score, Snippet Manager
|
|
|
|
to store and apply text snippets, templates or scripts, Use multiple
|
|
|
|
versions of LilyPond, automatically selects the correct version, Built-in
|
|
|
|
LilyPond documentation browser and built-in User Guide, Smart
|
|
|
|
layout-control functions like coloring specific objects in the PDF,
|
|
|
|
MusicXML import, Modern user iterface with configurable colors,
|
|
|
|
fonts and keyboard shortcuts
|
2014-10-24 15:35:30 +02:00
|
|
|
'';
|
2014-10-24 16:13:20 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2019-12-26 15:13:48 +01:00
|
|
|
maintainers = with maintainers; [ sepi ];
|
2014-10-24 16:13:20 +02:00
|
|
|
platforms = platforms.all;
|
2014-10-24 15:35:30 +02:00
|
|
|
};
|
|
|
|
}
|