mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
Merge pull request #323250 from markuskowa/upd-linuxptp
linuxptp: 4.2 -> 4.3
This commit is contained in:
commit
46fa274c78
|
@ -1,17 +1,21 @@
|
|||
{ lib, stdenv, fetchurl, linuxHeaders } :
|
||||
{ lib, stdenv, fetchFromGitHub, linuxHeaders } :
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "linuxptp";
|
||||
version = "4.2";
|
||||
version = "4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/linuxptp/${pname}-${version}.tgz";
|
||||
hash = "sha256-cOOOXSdk4CF0Q9pvFOiEb+QBpHIpOsE42EGcB6ZlRHo=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nwtime";
|
||||
repo = "linuxptp";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FFBbbmVPP74p/OkqNXXgynBS/NcuPoYs3OCof11NZOI=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace incdefs.sh --replace \
|
||||
substituteInPlace incdefs.sh --replace-fail \
|
||||
'/usr/include/linux/' "${linuxHeaders}/include/linux/"
|
||||
'';
|
||||
|
||||
|
@ -28,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Implementation of the Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux";
|
||||
homepage = "https://linuxptp.sourceforge.net/";
|
||||
homepage = "https://linuxptp.nwtime.org";
|
||||
maintainers = [ maintainers.markuskowa ];
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
|
|
Loading…
Reference in a new issue