{ pkgs ? import <nixpkgs> {} }:
with import ./nix/mkDub.nix { inherit pkgs; };
mkDubDerivation rec {
  name = "spine-${version}";
  version = "0.11.3";
  src = ./.;
  buildInputs = [
    pkgs.sqlite
    (import ./nix/pkglst/shell-pkgs.nix { inherit pkgs; })
  ];
  # installPhase = ''
  #   install -m755 -D spine $out/bin/spine
  #   echo "built $out/bin/spine"
  # '';
  meta = with pkgs.lib; {
    homepage = https://sisudoc.org;
    description = "a sisu like document parser";
    license = licenses.agpl3Plus;
    platforms = platforms.linux;
    maintainers = [ RalphAmissah ];
  };
}