mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
lenmus: fix build
This commit is contained in:
parent
7c6d293f46
commit
ef1b4c9636
@ -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 = ''
|
||||
@ -87,7 +91,7 @@ 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.
|
||||
@ -95,9 +99,9 @@ stdenv.mkDerivation rec {
|
||||
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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user