2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2016-02-21 14:30:50 +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";
|
|
|
|
|
2018-04-25 03:20:18 +00:00
|
|
|
doCheck = false; # fails with "ERROR: Run 'git submodule update --init test/samples' first."
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2016-02-27 17:24:00 +00:00
|
|
|
description = "DTS Coherent Acoustics decoder with support for HD extensions";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "dcadec";
|
2016-02-21 14:30:50 +00:00
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/foo86/dcadec";
|
2016-02-21 14:30:50 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2018-04-25 03:20:18 +00:00
|
|
|
}
|