Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 26 lines 721 B view raw
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "dcadec"; 5 version = "0.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "foo86"; 9 repo = pname; 10 rev = "v" + version; 11 sha256 = "07nd0ajizrp1w02bsyfcv18431r8m8rq8gjfmz9wmckpg7cxj2hs"; 12 }; 13 14 installPhase = "make PREFIX=/ DESTDIR=$out install"; 15 16 doCheck = false; # fails with "ERROR: Run 'git submodule update --init test/samples' first." 17 18 meta = with lib; { 19 description = "DTS Coherent Acoustics decoder with support for HD extensions"; 20 mainProgram = "dcadec"; 21 maintainers = with maintainers; [ edwtjo ]; 22 homepage = "https://github.com/foo86/dcadec"; 23 license = licenses.lgpl21; 24 platforms = platforms.linux; 25 }; 26}