nixpkgs/pkgs/development/tools/dcadec/default.nix

26 lines
693 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2016-02-21 15:30:50 +01: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."
meta = with lib; {
description = "DTS Coherent Acoustics decoder with support for HD extensions";
2016-02-21 15:30:50 +01:00
maintainers = with maintainers; [ edwtjo ];
homepage = "https://github.com/foo86/dcadec";
2016-02-21 15:30:50 +01:00
license = licenses.lgpl21;
platforms = platforms.linux;
};
}