Files
nixpkgs/pkgs/by-name/li/libaacs/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
1016 B
Nix

{
lib,
stdenv,
fetchurl,
libgcrypt,
libgpg-error,
bison,
flex,
}:
# library that allows libbluray to play AACS protected bluray disks
# libaacs does not infringe DRM's right or copyright. See the legal page of the website for more info.
# Info on how to use / obtain aacs keys:
# http://vlc-bluray.whoknowsmy.name/
# https://wiki.archlinux.org/index.php/BluRay
stdenv.mkDerivation rec {
pname = "libaacs";
version = "0.11.1";
src = fetchurl {
url = "http://get.videolan.org/libaacs/${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-qIqg6+TJinf3rv/ZKrPvZKxUjGuCLoJIqLkmclvqCjk=";
};
buildInputs = [
libgcrypt
libgpg-error
];
nativeBuildInputs = [
bison
flex
];
meta = with lib; {
homepage = "https://www.videolan.org/developers/libaacs.html";
description = "Library to access AACS protected Blu-Ray disks";
mainProgram = "aacs_info";
license = licenses.lgpl21;
maintainers = [ ];
platforms = with platforms; linux;
};
}