nv-codec-headers: bring package to top-level
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
, libxcbshapeExtlib ? true # X11 grabbing shape rendering
|
||||
, libXv ? null # Xlib support
|
||||
, lzma ? null # xz-utils
|
||||
, nvenc ? false, nvidia-video-sdk ? null # NVIDIA NVENC support
|
||||
, nvenc ? false, nvidia-video-sdk ? null, nv-codec-headers ? null # NVIDIA NVENC support
|
||||
, callPackage # needed for NVENC to access external ffmpeg nvidia headers
|
||||
, openal ? null # OpenAL 1.1 capture support
|
||||
#, opencl ? null # OpenCL code
|
||||
@@ -176,8 +176,6 @@
|
||||
let
|
||||
inherit (stdenv) isCygwin isFreeBSD isLinux;
|
||||
inherit (stdenv.lib) optional optionals optionalString enableFeature;
|
||||
|
||||
nv-codec-headers = callPackage ./nv-codec-headers.nix { };
|
||||
in
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
{ stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nv-codec-headers-${version}";
|
||||
version = "n8.1.24.2";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git";
|
||||
rev = "${version}";
|
||||
sha256 = "122i3f6whiz5yp44dhk73ifr1973z8vvfbg4216vb782bl8b5bam";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = {
|
||||
description = "ffmpeg nvidia headers for NVENC";
|
||||
homepage = http://ffmpeg.org/;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.MP2E ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user