nixpkgs/pkgs/misc/frescobaldi/default.nix

50 lines
1.6 KiB
Nix
Raw Normal View History

2020-01-03 17:24:59 +00:00
{ lib, buildPythonApplication, fetchFromGitHub, python3Packages, pyqtwebengine, lilypond }:
2014-10-24 13:35:30 +00:00
2020-01-03 17:24:59 +00:00
buildPythonApplication rec {
2014-10-24 13:35:30 +00:00
name = "frescobaldi-${version}";
2020-01-03 17:24:59 +00:00
version = "3.1";
2014-10-24 13:35:30 +00:00
src = fetchFromGitHub {
owner = "wbsoft";
repo = "frescobaldi";
rev = "v${version}";
2020-01-03 17:24:59 +00:00
sha256 = "0sv6dc1l34rrhfbn1wqkl9zs9hiacmmbviw87d0d03987s1iirb1";
2014-10-24 13:35:30 +00:00
};
propagatedBuildInputs = with python3Packages; [
lilypond pygame python-ly sip
2020-01-03 17:24:59 +00:00
pyqt5 poppler-qt5
pyqtwebengine
];
2014-10-24 13:35:30 +00:00
2020-01-03 17:24:59 +00:00
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
# no tests in shipped with upstream
doCheck = false;
2014-10-24 13:35:30 +00:00
2020-01-03 17:24:59 +00:00
dontWrapQtApps = true;
makeWrapperArgs = [
"\${qtWrapperArgs[@]}"
];
meta = with lib; {
2014-10-24 13:35:30 +00:00
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
2014-10-24 13:35:30 +00:00
'';
license = licenses.gpl2Plus;
maintainers = with maintainers; [ sepi ];
platforms = platforms.all;
2014-10-24 13:35:30 +00:00
};
}