mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #16931 from RamKromberg/init/lenmus
lenmus: init at 5.4.1
This commit is contained in:
commit
641c535bd5
50
pkgs/applications/misc/lenmus/default.nix
Normal file
50
pkgs/applications/misc/lenmus/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ stdenv, pkgconfig, fetchFromGitHub
|
||||
, cmake, boost
|
||||
, portmidi, sqlite
|
||||
, freetype, libpng, pngpp, zlib
|
||||
, wxGTK30, wxsqlite3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lenmus-${version}";
|
||||
version = "5.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lenmus";
|
||||
repo = "lenmus";
|
||||
rev = "Release_${version}";
|
||||
sha256 = "03xar8x38x20cns2gnv34jp0hw0k16sa62kkfhka9iiiw90wfyrp";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace "DESTINATION \"/usr/share" "DESTINATION \"$out/share"
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_INSALL_PREFIX=$out"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig
|
||||
cmake boost
|
||||
portmidi sqlite
|
||||
freetype libpng pngpp zlib
|
||||
wxGTK30 wxsqlite3
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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; linux;
|
||||
};
|
||||
}
|
@ -6418,6 +6418,7 @@ in
|
||||
|
||||
lemon = callPackage ../development/tools/parsing/lemon { };
|
||||
|
||||
lenmus = callPackage ../applications/misc/lenmus { };
|
||||
|
||||
libtool = self.libtool_2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user