Plugin to add Pijul support to the Nix package manager
{
  lib,
  stdenv,
  cmake,
  pkg-config,
  boost,
  howard-hinnant-date,
  nix,
  nlohmann_json,
}: stdenv.mkDerivation {
  pname = "nix-plugin-pijul";
  version = lib.fileContents ./VERSION;

  src = ./.;

  nativeBuildInputs = [
    cmake
    pkg-config
  ];

  buildInputs = [
    boost
    howard-hinnant-date
    nix
    nlohmann_json
  ];
}