mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
693 B
Nix
26 lines
693 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;
|
|
};
|
|
}
|