nixpkgs/pkgs/by-name/av/avisynthplus/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

51 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
testers,
cmake,
gitUpdater,
fetchpatch,
libdevil,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "avisynthplus";
version = "3.7.3";
src = fetchFromGitHub {
owner = "AviSynth";
repo = "AviSynthPlus";
rev = "v${finalAttrs.version}";
hash = "sha256-v/AErktcegdrwxDbD0DZ/ZAxgaZmkZD+qxR3EPFsT08=";
};
patches = [
# Remove after next relaese
(fetchpatch {
name = "fix-absolute-path.patch";
url = "https://github.com/AviSynth/AviSynthPlus/commit/818983691e962ec3e590fcad07032f8a139a6b16.patch";
hash = "sha256-4yUOnjtOroX+bhNUKbYz/giKaslzYdwPaaJWNkrTBr4=";
})
];
buildInputs = [ libdevil ];
nativeBuildInputs = [ cmake ];
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
description = "Improved version of the AviSynth frameserver";
homepage = "https://avs-plus.net/";
changelog = "https://github.com/AviSynth/AviSynthPlus/releases/tag/${finalAttrs.src.rev}";
license = licenses.gpl2Only;
pkgConfigModules = [ "avisynth" ];
platforms = platforms.unix;
maintainers = with maintainers; [ jopejoe1 ];
};
})