mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
dd7f08a1a6
init local package nv-codec-headers, which are external nvidia headers, now used when nvenc is enabled
23 lines
582 B
Nix
23 lines
582 B
Nix
{ 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;
|
|
};
|
|
}
|