mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
63 lines
1.9 KiB
Nix
63 lines
1.9 KiB
Nix
{ lib, stdenv, fetchFromGitHub, python311Packages, lilypond }:
|
|
|
|
python311Packages.buildPythonApplication rec {
|
|
pname = "frescobaldi";
|
|
version = "3.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wbsoft";
|
|
repo = "frescobaldi";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-Q6ruthNcpjLlYydUetkuTECiCIzu055bw40O8BPGq/A=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python311Packages; [
|
|
qpageview
|
|
lilypond
|
|
pygame
|
|
python-ly
|
|
sip4
|
|
pyqt5
|
|
poppler-qt5
|
|
pyqtwebengine
|
|
];
|
|
|
|
nativeBuildInputs = [ python311Packages.pyqtwebengine.wrapQtAppsHook ];
|
|
|
|
# Needed because source is fetched from git
|
|
preBuild = ''
|
|
make -C i18n
|
|
make -C linux
|
|
'';
|
|
|
|
# no tests in shipped with upstream
|
|
doCheck = false;
|
|
|
|
dontWrapQtApps = true;
|
|
makeWrapperArgs = [
|
|
"\${qtWrapperArgs[@]}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://frescobaldi.org/";
|
|
description = "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;
|
|
broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/frescobaldi.x86_64-darwin
|
|
mainProgram = "frescobaldi";
|
|
};
|
|
}
|