nixpkgs/pkgs/applications/video/dvdauthor/default.nix
Nicolas Benes 565d7dce03 dvdauthor: 0.7.1 -> 0.7.2
dvdauthor optionally depends on imagemagick6, which is marked insecure.
imagemagick7 could be supported with patches, but since upstream
disabled the feature by default, it seems easier to remove it.
(see https://github.com/ldo/dvdauthor/issues/24)

In addition, the previous release's Nix package listed imagemagick(7) as
dependence, but it was not recognised and not used due to an error in
the dvdauthor build script.
2023-11-19 02:18:47 +01:00

38 lines
768 B
Nix

{ lib
, stdenv
, fetchurl
, autoreconfHook
, libdvdread
, libxml2
, freetype
, fribidi
, libpng
, zlib
, pkg-config
, flex
, bison
}:
stdenv.mkDerivation rec {
pname = "dvdauthor";
version = "0.7.2";
src = fetchurl {
url = "mirror://sourceforge/dvdauthor/dvdauthor-${version}.tar.gz";
hash = "sha256-MCCpLen3jrNvSLbyLVoAHEcQeCZjSnhaYt/NCA9hLrc=";
};
buildInputs = [ libpng freetype libdvdread libxml2 zlib fribidi flex bison ];
nativeBuildInputs = [
pkg-config
autoreconfHook
];
meta = with lib; {
description = "Tools for generating DVD files to be played on standalone DVD players";
homepage = "https://dvdauthor.sourceforge.net/";
license = licenses.gpl2;
platforms = platforms.linux ++ platforms.darwin;
};
}