diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-01-24 00:14:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 00:14:19 +0100 |
commit | 7115ead0f24b0591a21037513419a2ec8a54058c (patch) | |
tree | 39c559c108ccb25fde630002635a920612d0c45e /pkgs/applications/audio | |
parent | ebabf8f1f102a5413a90915bfa794f4f1a2bd323 (diff) | |
parent | d5d3e334ad39522f4edeedd87f064043a4234dea (diff) |
Merge pull request #196982 from lorenz/dolby-swdecode
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/dolbybcsoftwaredecode/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/audio/dolbybcsoftwaredecode/default.nix b/pkgs/applications/audio/dolbybcsoftwaredecode/default.nix new file mode 100644 index 0000000000000..5d5c057d724b8 --- /dev/null +++ b/pkgs/applications/audio/dolbybcsoftwaredecode/default.nix @@ -0,0 +1,31 @@ +{ 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 = "A 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; + }; +} |