From 33c511a094f611f9b97a4b607c7df74b83301efb Mon Sep 17 00:00:00 2001 From: Jordan Isaacs Date: Wed, 30 Nov 2022 22:46:40 -0500 Subject: [PATCH] nqptp: init at unstable-2022-09-12 Corresponds to v1.1-dev-168-g3444047 --- pkgs/tools/networking/nqptp/default.nix | 28 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/networking/nqptp/default.nix diff --git a/pkgs/tools/networking/nqptp/default.nix b/pkgs/tools/networking/nqptp/default.nix new file mode 100644 index 000000000000..de7f5ffbbf3d --- /dev/null +++ b/pkgs/tools/networking/nqptp/default.nix @@ -0,0 +1,28 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, pkg-config +}: + +stdenv.mkDerivation rec { + version = "unstable-2022-09-12"; + pname = "nqptp"; + + src = fetchFromGitHub { + owner = "mikebrady"; + repo = pname; + rev = "476e69697d2ec1a28d399432aed23c580e3e570a"; + hash = "sha256-UPUYEX5YUl//OcsBKuGgKLaAMzn2F+ksNRQJ3/pkbKc="; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + + meta = with lib; { + homepage = "https://github.com/mikebrady/nqptp"; + description = "Daemon and companion application to Shairport Sync that monitors timing data from any PTP clocks"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ jordanisaacs ]; + platforms = platforms.linux ++ platforms.freebsd; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7c2069ba47f2..c6d85783051b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30582,6 +30582,8 @@ with pkgs; buildGoModule = buildGo118Module; # tests fail with 1.19 }; + nqptp = callPackage ../tools/networking/nqptp { }; + mailspring = callPackage ../applications/networking/mailreaders/mailspring {}; mm = callPackage ../applications/networking/instant-messengers/mm { };