571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
28 lines
839 B
Nix
28 lines
839 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libX11, libpthreadstubs, libXau, libXdmcp
|
|
, libXext, libvdpau, glib, libva, libGLU }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libvdpau-va-gl";
|
|
version = "0.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "i-rinat";
|
|
repo = "libvdpau-va-gl";
|
|
rev = "v${version}";
|
|
sha256 = "0asndybfv8xb0fx73sjjw5kydqrahqkm6n04lh589pbf18s5qlld";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
buildInputs = [ libX11 libpthreadstubs libXau libXdmcp libXext libvdpau glib libva libGLU ];
|
|
|
|
doCheck = false; # fails. needs DRI access
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/i-rinat/libvdpau-va-gl";
|
|
description = "VDPAU driver with OpenGL/VAAPI backend";
|
|
license = licenses.lgpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|