Skip to content

Commit

Permalink
lenmus: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Oct 22, 2024
1 parent 7c6d293 commit ef1b4c9
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions pkgs/by-name/le/lenmus/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,19 @@
let
inherit (darwin.apple_sdk.frameworks) Cocoa;
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "lenmus";
version = "6.0.1";

src = fetchFromGitHub {
owner = "lenmus";
repo = "lenmus";
rev = "Release_${version}";
sha256 = "sha256-qegOAc6vs2+6VViDHVjv0q+qjLZyTT7yPF3hFpTt5zE=";
rev = "Release_${finalAttrs.version}";
hash = "sha256-qegOAc6vs2+6VViDHVjv0q+qjLZyTT7yPF3hFpTt5zE=";
};

env = {
NIX_CFLAGS_COMPILE = "-fpermissive";
};

postPatch = ''
Expand Down Expand Up @@ -87,17 +91,17 @@ stdenv.mkDerivation rec {
makeWrapper $out/{Applications/lenmus.app/Contents/MacOS,bin}/lenmus
'';

meta = with lib; {
meta = {
description = "LenMus Phonascus is a program for learning music";
longDescription = ''
LenMus Phonascus is a free open source program (GPL v3) for learning music.
It allows you to focus on specific skills and exercises, on both theory and aural training.
The different activities can be customized to meet your needs
'';
homepage = "http://www.lenmus.org/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ramkromberg ];
platforms = with platforms; unix;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ ramkromberg ];
platforms = lib.platforms.unix;
mainProgram = "lenmus";
};
}
})

0 comments on commit ef1b4c9

Please sign in to comment.