summary refs log blame commit diff
path: root/pkgs/development/tools/dcadec/default.nix
blob: 685b9d2f13d5aa1cc25270fa9f1dd3769188af0b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


                            











                                                                    

                                                                                              
                           
                                                                                  
                                               
                                               


                                
 
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "dcadec";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "foo86";
    repo = pname;
    rev = "v" + version;
    sha256 = "07nd0ajizrp1w02bsyfcv18431r8m8rq8gjfmz9wmckpg7cxj2hs";
  };

  installPhase = "make PREFIX=/ DESTDIR=$out install";

  doCheck = false; # fails with "ERROR: Run 'git submodule update --init test/samples' first."

  meta = with stdenv.lib; {
    description = "DTS Coherent Acoustics decoder with support for HD extensions";
    maintainers = with maintainers; [ edwtjo ];
    homepage = https://github.com/foo86/dcadec;
    license = licenses.lgpl21;
    platforms = platforms.linux;
  };
}