mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
ddcci-driver: 0.4.3 -> 0.4.4
This commit is contained in:
parent
5e32d54dab
commit
e4c3cc5c17
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user