depot/third_party/nixpkgs/pkgs/applications/audio/dolbybcsoftwaredecode/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
943 B
Nix

{ lib, fetchurl, stdenv, unzip, fpc }:
stdenv.mkDerivation rec {
pname = "dolbybcsoftwaredecode";
version = "april-2018";
src = fetchurl {
url = "mirror://sourceforge/dolbybcsoftwaredecode/April-2018/SourceCode.zip";
sha256 = "sha256-uLcsRIpwmJlstlGV8I4+/30+D9GDpUt7DOIP/GkXWp4=";
};
nativeBuildInputs = [ unzip fpc ];
buildPhase = ''
fpc DolbyBi64.PP
'';
installPhase = ''
mkdir -p $out/bin
cp DolbyBi64 $out/bin/
'';
meta = with lib; {
description = "Dolby B & C software decoder";
homepage = "https://sourceforge.net/projects/dolbybcsoftwaredecode/";
maintainers = with maintainers; [ lorenz ];
# Project is has source code available, but has no explicit license.
# I asked upstream to assign a license, so maybe this can be free
# in the future, but for now let's play it safe and make it unfree.
license = lib.licenses.unfree;
mainProgram = "DolbyBi64";
};
}