2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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."
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|