summary refs log tree commit diff
path: root/pkgs/applications/audio/bmp-plugins/wma/default.nix
blob: 617db6232a7d452bd48707db0fc04ee9b9d3c1c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{stdenv, fetchurl, pkgconfig, bmp}:

stdenv.mkDerivation {
  name = "bmp-plugin-wma-1.0.5";
  
  src = fetchurl {
    url = http://mcmcc.bat.ru/xmms-wma/xmms-wma-1.0.5.tar.bz2;
    md5 = "5d62a0f969617aeb40096362c7a8a506";
  };
  
  buildInputs = [pkgconfig bmp];

  buildFlags = "-f Makefile.bmp";
  
  installPhase = ''
    ensureDir "$out/lib/bmp/Input"
    cp libwma.so "$out/lib/bmp/Input"
  '';
}