lol
1{ stdenv, fetchFromGitHub }:
2
3stdenv.mkDerivation rec {
4 name = pname + "-" + version;
5 pname = "dcadec";
6 version = "0.2.0";
7
8 src = fetchFromGitHub {
9 owner = "foo86";
10 repo = pname;
11 rev = "v" + version;
12 sha256 = "07nd0ajizrp1w02bsyfcv18431r8m8rq8gjfmz9wmckpg7cxj2hs";
13 };
14
15 installPhase = "make PREFIX=/ DESTDIR=$out install";
16
17 meta = with stdenv.lib; {
18 description = "DTS Coherent Acoustics decoder with support for HD extensions";
19 maintainers = with maintainers; [ edwtjo ];
20 homepage = https://github.com/foo86/dcadec;
21 license = licenses.lgpl21;
22 platforms = platforms.linux;
23 };
24}