
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.
25 lines
784 B
Nix
25 lines
784 B
Nix
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libvdpau }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vdpauinfo";
|
|
version = "1.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/${version}/${pname}-${version}.tar.bz2";
|
|
hash = "sha256-uOs/r8Ow7KvSpY1NhD2A+D4Qs6iWJe4fZGfVj6nIiCw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ libvdpau ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://people.freedesktop.org/~aplattner/vdpau/";
|
|
description = "Tool to query the Video Decode and Presentation API for Unix (VDPAU) abilities of the system";
|
|
license = licenses.mit; # expat version
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ vcunat ];
|
|
mainProgram = "vdpauinfo";
|
|
};
|
|
}
|