mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
nvidia-vaapi-driver: modernize (#566701)
This commit is contained in:
@@ -13,15 +13,18 @@
|
||||
addDriverRunpath,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nvidia-vaapi-driver";
|
||||
version = "0.0.18";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elFarto";
|
||||
repo = "nvidia-vaapi-driver";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cEEPRKoWtNXk8LsDbkhNjnIY7UD1rfYbv2Q6ThG0YLg=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-cEEPRKoWtNXk8LsDbkhNjnIY7UD1rfYbv2Q6ThG0YLg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -51,8 +54,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/elFarto/nvidia-vaapi-driver";
|
||||
description = "VA-API implementation using NVIDIA's NVDEC";
|
||||
changelog = "https://github.com/elFarto/nvidia-vaapi-driver/releases/tag/v${version}";
|
||||
changelog = "https://github.com/elFarto/nvidia-vaapi-driver/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ nickcao ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user