summary refs log tree commit diff
path: root/pkgs/applications/audio/munt
diff options
context:
space:
mode:
authorgnidorah <gnidorah@users.noreply.github.com>2019-05-04 16:06:44 +0300
committerLassulus <github@lassul.us>2019-05-04 23:19:24 +0900
commit50d54c66f9ed03a3965119cb3fbc95deabff7851 (patch)
tree068bad28c44571d5c8514ab4f395fc84edd1848b /pkgs/applications/audio/munt
parent8fa2a165edbe3f1a4d11edeef4ebec8a030822eb (diff)
downloadnixpkgs-50d54c66f9ed03a3965119cb3fbc95deabff7851.tar
nixpkgs-50d54c66f9ed03a3965119cb3fbc95deabff7851.tar.gz
nixpkgs-50d54c66f9ed03a3965119cb3fbc95deabff7851.tar.bz2
nixpkgs-50d54c66f9ed03a3965119cb3fbc95deabff7851.tar.lz
nixpkgs-50d54c66f9ed03a3965119cb3fbc95deabff7851.tar.xz
nixpkgs-50d54c66f9ed03a3965119cb3fbc95deabff7851.tar.zst
nixpkgs-50d54c66f9ed03a3965119cb3fbc95deabff7851.zip
munt: init at 2.3.0
Diffstat (limited to 'pkgs/applications/audio/munt')
-rw-r--r--pkgs/applications/audio/munt/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/audio/munt/default.nix b/pkgs/applications/audio/munt/default.nix
new file mode 100644
index 00000000000..3d40e4c39f4
--- /dev/null
+++ b/pkgs/applications/audio/munt/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchFromGitHub, cmake, qtbase, alsaLib, makeDesktopItem }:
+
+let
+  desktopItem = makeDesktopItem rec {
+    name = "Munt";
+    exec = "mt32emu-qt";
+    desktopName = name;
+    genericName = "Munt synthesiser";
+    categories = "Audio;AudioVideo;";
+  };
+in stdenv.mkDerivation rec {
+  version = "2.3.0";
+  pname = "munt";
+
+  src = fetchFromGitHub {
+    owner = pname;
+    repo = pname;
+    rev = with stdenv.lib.versions; "${pname}_${major version}_${minor version}_${patch version}";
+    sha256 = "0fjhshs4w942rlfksalalqshflbq83pyz1z0hcq53falh9v54cyw";
+  };
+
+  postInstall = ''
+    ln -s ${desktopItem}/share/applications $out/share
+  '';
+
+  dontFixCmake = true;
+
+  nativeBuildInputs = [ cmake ];
+  buildInputs = [ qtbase alsaLib ];
+
+  meta = with stdenv.lib; {
+    description = "Multi-platform software synthesiser emulating Roland MT-32, CM-32L, CM-64 and LAPC-I devices";
+    homepage = "http://munt.sourceforge.net/";
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ gnidorah ];
+  };
+}