2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, pkg-config, fetchFromGitHub, fetchpatch
|
2016-07-07 14:46:26 +02:00
|
|
|
, cmake, boost
|
|
|
|
, portmidi, sqlite
|
|
|
|
, freetype, libpng, pngpp, zlib
|
|
|
|
, wxGTK30, wxsqlite3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "lenmus";
|
2016-07-26 19:13:56 +02:00
|
|
|
version = "5.4.2";
|
2016-07-07 14:46:26 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lenmus";
|
|
|
|
repo = "lenmus";
|
|
|
|
rev = "Release_${version}";
|
2016-07-26 19:13:56 +02:00
|
|
|
sha256 = "1n639xr1qxx6rhqs0c6sjxp3bv8cwkmw1vfk1cji7514gj2a9v3p";
|
2016-07-07 14:46:26 +02:00
|
|
|
};
|
|
|
|
|
2017-09-04 15:05:51 +02:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/lenmus/lenmus/commit/421760d84694a0e6e72d0e9b1d4fd30a7e129c6f.patch";
|
|
|
|
sha256 = "1z1wwh0pcr8w1zlr8swx99si9y2kxx5bmavgwvy6bvdhxgm58yqs";
|
|
|
|
})
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/lenmus/lenmus/commit/6613d20d4051effc782203c9c6d92962a3f66b5f.patch";
|
|
|
|
sha256 = "01vvzzpamv90jpqbbq1f2m2b4gb9xab9z70am8i41d90nqvg6agn";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2016-07-07 14:46:26 +02:00
|
|
|
buildInputs = [
|
2020-12-31 08:48:55 +01:00
|
|
|
boost
|
2016-07-07 14:46:26 +02:00
|
|
|
portmidi sqlite
|
|
|
|
freetype libpng pngpp zlib
|
|
|
|
wxGTK30 wxsqlite3
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-07-07 14:46:26 +02:00
|
|
|
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
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.lenmus.org/";
|
2016-07-07 14:46:26 +02:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ ramkromberg ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|