1{ stdenv, fetchurl, pythonPackages, lilypond}:
2
3pythonPackages.buildPythonApplication rec {
4 name = "frescobaldi-${version}";
5 version = "2.0.16";
6
7 src = fetchurl {
8 url = "https://github.com/wbsoft/frescobaldi/releases/download/"
9 + "v2.0.16/${name}.tar.gz";
10 sha256 = "12pabvq5b2lq84q3kx8lh02zh6ali6v4wnin2k2ycnm45mk9ms6q";
11 };
12
13 propagatedBuildInputs = with pythonPackages; [ lilypond
14 pyqt4 poppler-qt4 pygame ];
15
16 patches = [ ./setup.cfg.patch ./python-path.patch ];
17
18 meta = with stdenv.lib; {
19 homepage = http://frescobaldi.org/;
20 description = ''Frescobaldi is a LilyPond sheet music text editor'';
21 longDescription = ''
22 Powerful text editor with syntax highlighting and automatic completion,
23 Music view with advanced Point & Click, Midi player to proof-listen
24 LilyPond-generated MIDI files, Midi capturing to enter music,
25 Powerful Score Wizard to quickly setup a music score, Snippet Manager
26 to store and apply text snippets, templates or scripts, Use multiple
27 versions of LilyPond, automatically selects the correct version, Built-in
28 LilyPond documentation browser and built-in User Guide, Smart
29 layout-control functions like coloring specific objects in the PDF,
30 MusicXML import, Modern user iterface with configurable colors,
31 fonts and keyboard shortcuts
32 '';
33 license = licenses.gpl2Plus;
34 maintainers = [ maintainers.sepi ];
35 platforms = platforms.all;
36 };
37}