nixpkgs/pkgs/tools/networking/nqptp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
939 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
2023-10-19 14:10:28 +00:00
, gitUpdater
}:
stdenv.mkDerivation rec {
2023-10-19 14:10:28 +00:00
version = "1.2.4";
pname = "nqptp";
src = fetchFromGitHub {
owner = "mikebrady";
repo = pname;
2023-05-22 13:33:51 +00:00
rev = "refs/tags/${version}";
2023-10-19 14:10:28 +00:00
hash = "sha256-roTNcr3v2kzE6vQ5plAVtlw1+2yJplltOYsGGibtoZo=";
};
2023-10-19 14:10:28 +00:00
patches = [
# this patch should be removed when > 1.2.4
./remove-setcap.patch
];
nativeBuildInputs = [ autoreconfHook pkg-config ];
2023-10-19 14:10:28 +00:00
passthru.updateScript = gitUpdater {
ignoredVersions = ".*(-dev|d0)";
};
2023-10-19 14:09:57 +00:00
meta = {
homepage = "https://github.com/mikebrady/nqptp";
description = "Daemon and companion application to Shairport Sync that monitors timing data from any PTP clocks";
2023-10-19 14:09:57 +00:00
license = lib.licenses.gpl2Only;
2023-11-04 16:30:21 +00:00
mainProgram = "nqptp";
2023-10-19 14:09:57 +00:00
maintainers = with lib.maintainers; [ jordanisaacs adamcstephens ];
platforms = lib.platforms.linux ++ lib.platforms.freebsd;
};
}