File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
pkgs/by-name/li/libinotify-kqueue Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 fetchFromGitHub ,
5+ fetchpatch ,
56 autoreconfHook ,
67} :
78
89stdenv . mkDerivation rec {
910 pname = "libinotify-kqueue" ;
10- version = "20180201 " ;
11+ version = "20240724 " ;
1112
1213 src = fetchFromGitHub {
1314 owner = "libinotify-kqueue" ;
1415 repo = "libinotify-kqueue" ;
1516 rev = version ;
16- sha256 = "sha256-9A5s8rPGlRv3KbxOukk0VB2IQrDxVjklO5RB+IA1cDY =" ;
17+ sha256 = "sha256-m59GWrx5C+JXDbhVdKx+SNSn8wwIKyW+KlXabNi17A0 =" ;
1718 } ;
1819
20+ patches = [
21+ # https://github.com/libinotify-kqueue/libinotify-kqueue/pull/23
22+ ( fetchpatch {
23+ name = "add-configure-caching.patch" ;
24+ url = "https://github.com/libinotify-kqueue/libinotify-kqueue/commit/81a8f05c1ce6df819dc898f3754c9c874ee24b10.patch" ;
25+ hash = "sha256-imKS2DuQrHSMnJH1gOYrVSeWTe2nhcl8Gm9IX5B9ZqI=" ;
26+ } )
27+ ] ;
28+
1929 nativeBuildInputs = [ autoreconfHook ] ;
2030
21- doCheck = true ;
31+ configureFlags =
32+ lib . optionals ( with stdenv ; buildPlatform != hostPlatform && hostPlatform . isFreeBSD )
33+ [
34+ "ik_cv_have_note_extend_in=yes"
35+ "ik_cv_have_note_extend_out=yes"
36+ "ik_cv_have_o_path=yes"
37+ "ik_cv_have_o_empty_path=yes"
38+ "ik_cv_have_at_empty_path=yes"
39+ ] ;
40+
2241 checkFlags = [ "test" ] ;
2342
2443 meta = with lib ; {
You can’t perform that action at this time.
0 commit comments