diff options
Diffstat (limited to 'nixpkgs/pkgs/misc/frescobaldi')
-rw-r--r-- | nixpkgs/pkgs/misc/frescobaldi/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/misc/frescobaldi/default.nix b/nixpkgs/pkgs/misc/frescobaldi/default.nix new file mode 100644 index 00000000000..5487b6cdc2a --- /dev/null +++ b/nixpkgs/pkgs/misc/frescobaldi/default.nix @@ -0,0 +1,49 @@ +{ lib, buildPythonApplication, fetchFromGitHub, python3Packages, pyqtwebengine, lilypond }: + +buildPythonApplication rec { + name = "frescobaldi-${version}"; + version = "3.1"; + + src = fetchFromGitHub { + owner = "wbsoft"; + repo = "frescobaldi"; + rev = "v${version}"; + sha256 = "0sv6dc1l34rrhfbn1wqkl9zs9hiacmmbviw87d0d03987s1iirb1"; + }; + + propagatedBuildInputs = with python3Packages; [ + lilypond pygame python-ly sip + pyqt5 poppler-qt5 + pyqtwebengine + ]; + + nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ]; + + # no tests in shipped with upstream + doCheck = false; + + dontWrapQtApps = true; + makeWrapperArgs = [ + "\${qtWrapperArgs[@]}" + ]; + + meta = with lib; { + homepage = http://frescobaldi.org/; + description = ''Frescobaldi is a LilyPond sheet music text editor''; + longDescription = '' + 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 + ''; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ sepi ]; + platforms = platforms.all; + }; +} |