level-zero: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-03-15 09:29:15 +01:00 committed by GitHub
parent f8df93c62a
commit 46ef9d5cf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,9 @@
{ lib, stdenv, fetchFromGitHub, addOpenGLRunpath, cmake }:
{ lib
, stdenv
, fetchFromGitHub
, addOpenGLRunpath
, cmake
}:
stdenv.mkDerivation rec {
pname = "level-zero";
@ -7,8 +12,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "oneapi-src";
repo = "level-zero";
rev = "v${version}";
sha256 = "sha256-zzlecBk7Mi3Nhj4eIAp81pq7+lIiKpvEaNeXuJKDPII=";
rev = "refs/tags/v${version}";
hash = "sha256-zzlecBk7Mi3Nhj4eIAp81pq7+lIiKpvEaNeXuJKDPII=";
};
nativeBuildInputs = [ cmake addOpenGLRunpath ];
@ -20,6 +25,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "oneAPI Level Zero Specification Headers and Loader";
homepage = "https://github.com/oneapi-src/level-zero";
changelog = "https://github.com/oneapi-src/level-zero/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = [ maintainers.ziguana ];
};