biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / audio / vmpk / default.nix
blob7802c6cce7045365451441c8a3be0498cf9ed98c
1 { mkDerivation, lib, fetchurl, cmake, pkg-config
2 , qttools, qtx11extras, drumstick
3 , docbook-xsl-nons
4 }:
6 mkDerivation rec {
7   pname = "vmpk";
8   version = "0.8.8";
10   src = fetchurl {
11     url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
12     sha256 = "sha256-+NjTcszb1KXGynIcCf4IEDvN4f8pgXtR1TksxGR5ZHQ=";
13   };
15   nativeBuildInputs = [ cmake pkg-config qttools docbook-xsl-nons ];
17   buildInputs = [ drumstick qtx11extras ];
19   postInstall = ''
20     # vmpk drumstickLocales looks here:
21     ln -s ${drumstick}/share/drumstick $out/share/
22   '';
24   meta = with lib; {
25     description = "Virtual MIDI Piano Keyboard";
26     mainProgram = "vmpk";
27     homepage = "http://vmpk.sourceforge.net/";
28     license = licenses.gpl3Plus;
29     maintainers = with maintainers; [ orivej ];
30     platforms = platforms.linux;
31   };