8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 hash = "sha256-w1buo+D8Mnd6ytMhQYhvCDqt+RejlNSN/iVjrDR+Khk=";
25 substituteInPlace incdefs.sh --replace-fail \
26 '/usr/include/linux/' "${linuxHeaders}/include/linux/"
31 "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
38 enableParallelBuilding = true;
41 description = "Implementation of the Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux";
42 homepage = "https://linuxptp.nwtime.org";
43 maintainers = [ maintainers.markuskowa ];
44 license = licenses.gpl2Only;
45 platforms = platforms.linux;