depot/third_party/nixpkgs/pkgs/development/tools/dcadec/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
695 B
Nix

{ 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;
};
}