ddcci-driver: 0.4.3 -> 0.4.4

This commit is contained in:
Dixon Sean Low Yan Feng 2023-09-22 10:48:44 +08:00
parent 5e32d54dab
commit e4c3cc5c17
No known key found for this signature in database
GPG key ID: A9F388161E9B90C7

View file

@ -1,26 +1,17 @@
{ lib, stdenv, fetchFromGitLab, kernel, fetchpatch }:
{ lib, stdenv, fetchFromGitLab, kernel }:
stdenv.mkDerivation rec {
pname = "ddcci-driver";
version = "0.4.3";
version = "0.4.4";
name = "${pname}-${kernel.version}-${version}";
src = fetchFromGitLab {
owner = "${pname}-linux";
repo = "${pname}-linux";
rev = "v${version}";
hash = "sha256-1Z6V/AorD4aslLKaaCZpmkD2OiQnmpu3iroOPlNPtLE=";
hash = "sha256-4pCfXJcteWwU6cK8OOSph4XlhKTk289QqLxsSWY7cac=";
};
patches = [
# https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/12
(fetchpatch {
name = "kernel-6.2-6.3.patch";
url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/commit/1ef6079679acc455f75057dd7097b5b494a241dc.patch";
hash = "sha256-2C2leS20egGY3J2tq96gsUQXYw13wBJ3ZWrdIXxmEYs=";
})
];
hardeningDisable = [ "pic" ];
nativeBuildInputs = kernel.moduleBuildDependencies;