mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
tp_smapi: 0.43 -> 0.44-unstable-2025-05-26
This commit is contained in:
parent
32ddfbc9e7
commit
3e454d9aff
1 changed files with 3 additions and 13 deletions
|
@ -2,30 +2,20 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
kernel,
|
kernel,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "tp_smapi-${version}-${kernel.version}";
|
name = "tp_smapi-${version}-${kernel.version}";
|
||||||
version = "0.43";
|
version = "0.44-unstable-2025-05-26";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linux-thinkpad";
|
owner = "linux-thinkpad";
|
||||||
repo = "tp_smapi";
|
repo = "tp_smapi";
|
||||||
rev = "tp-smapi/${version}";
|
rev = "a6122c0840c36bf232250afd1da30aaedaf24910";
|
||||||
sha256 = "1rjb0njckczc2mj05cagvj0lkyvmyk6bw7wkiinv81lw8m90g77g";
|
hash = "sha256-4bVyhTVj29ni9hduN20+VEl5/N0BAoMNMBw+k4yl8Y0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# update DEFINE_SEMAPHORE usage for linux 6.4+
|
|
||||||
# https://github.com/linux-thinkpad/tp_smapi/pull/45
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/linux-thinkpad/tp_smapi/commit/0c3398b1acf2a2cabd9cee91dc3fe3d35805fa8b.patch";
|
|
||||||
hash = "sha256-J/WvijrpHGwFOZMMxnHdNin5eh8vViTcNb4nwsCqsLs=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
hardeningDisable = [ "pic" ];
|
hardeningDisable = [ "pic" ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue