git.iko.soy/typeable/nixpkgs
on master help sign in
lenmus: init at 5.4.1
commit697f0df394c728c27643251aa1d50356ab5774f9 authorRam Kromberg <ramkromberg@mail.com> dateThu 7 Jul 2016, 15:46 (10 years ago) parent5630ac1
2 files changed+51
pkgs/applications/misc/lenmus/default.nix+50 pkgs/top-level/all-packages.nix+1
pkgs/applications/misc/lenmus/default.nixnew file+50
@@ -0,0 +1,50 @@
1+{ stdenv, pkgconfig, fetchFromGitHub
2+, cmake, boost
3+, portmidi, sqlite
4+, freetype, libpng, pngpp, zlib
5+, wxGTK30, wxsqlite3
6+}:
7+
8+stdenv.mkDerivation rec {
9+ name = "lenmus-${version}";
10+ version = "5.4.1";
11+
12+ src = fetchFromGitHub {
13+ owner = "lenmus";
14+ repo = "lenmus";
15+ rev = "Release_${version}";
16+ sha256 = "03xar8x38x20cns2gnv34jp0hw0k16sa62kkfhka9iiiw90wfyrp";
17+ };
18+
19+ postPatch = ''
20+ substituteInPlace CMakeLists.txt \
21+ --replace "DESTINATION \"/usr/share" "DESTINATION \"$out/share"
22+ '';
23+
24+ cmakeFlags = [
25+ "-DCMAKE_INSALL_PREFIX=$out"
26+ ];
27+
28+ enableParallelBuilding = true;
29+
30+ buildInputs = [
31+ pkgconfig
32+ cmake boost
33+ portmidi sqlite
34+ freetype libpng pngpp zlib
35+ wxGTK30 wxsqlite3
36+ ];
37+
38+ meta = with stdenv.lib; {
39+ description = "LenMus Phonascus is a program for learning music";
40+ longDescription = ''
41+ LenMus Phonascus is a free open source program (GPL v3) for learning music.
42+ It allows you to focus on specific skills and exercises, on both theory and aural training.
43+ The different activities can be customized to meet your needs
44+ '';
45+ homepage = "http://www.lenmus.org/";
46+ license = licenses.gpl3Plus;
47+ maintainers = with maintainers; [ ramkromberg ];
48+ platforms = with platforms; linux;
49+ };
50+}
pkgs/top-level/all-packages.nix+1
@@ -6415,6 +6415,7 @@ in
64156415
64166416 lemon = callPackage ../development/tools/parsing/lemon { };
64176417
6418+ lenmus = callPackage ../applications/misc/lenmus { };
64186419
64196420 libtool = self.libtool_2;
64206421