Files
nixpkgs/pkgs/by-name/in/intel-gmmlib/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

44 lines
1022 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
# for passthru.tests
intel-compute-runtime,
intel-media-driver,
}:
stdenv.mkDerivation rec {
pname = "intel-gmmlib";
version = "22.8.2";
src = fetchFromGitHub {
owner = "intel";
repo = "gmmlib";
tag = "intel-gmmlib-${version}";
hash = "sha256-dn8I3cuApy+RUWeKDVzU0sr3fUjHoDFHdGasFTAufec=";
};
nativeBuildInputs = [ cmake ];
passthru.tests = {
inherit intel-compute-runtime intel-media-driver;
};
meta = with lib; {
homepage = "https://github.com/intel/gmmlib";
license = licenses.mit;
description = "Intel Graphics Memory Management Library";
longDescription = ''
The Intel(R) Graphics Memory Management Library provides device specific
and buffer management for the Intel(R) Graphics Compute Runtime for
OpenCL(TM) and the Intel(R) Media Driver for VAAPI.
'';
platforms = [
"x86_64-linux"
"i686-linux"
];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}