linuxptp: 4.2 -> 4.3
Switch src from sourcefourge to Github. Update homepage
This commit is contained in:
parent
5e0f77ae14
commit
aaa50e707a
@ -1,13 +1,15 @@
|
|||||||
{ lib, stdenv, fetchurl, linuxHeaders } :
|
{ lib, stdenv, fetchFromGitHub, linuxHeaders } :
|
||||||
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "linuxptp";
|
pname = "linuxptp";
|
||||||
version = "4.2";
|
version = "4.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/linuxptp/${pname}-${version}.tgz";
|
owner = "nwtime";
|
||||||
hash = "sha256-cOOOXSdk4CF0Q9pvFOiEb+QBpHIpOsE42EGcB6ZlRHo=";
|
repo = "linuxptp";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-FFBbbmVPP74p/OkqNXXgynBS/NcuPoYs3OCof11NZOI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -28,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Implementation of the Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux";
|
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 ];
|
maintainers = [ maintainers.markuskowa ];
|
||||||
license = licenses.gpl2Only;
|
license = licenses.gpl2Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
Loading…
Reference in New Issue
Block a user