{
  description = "a sisu like document parser";
  inputs = {
    flake-utils.url = "github:numtide/flake-utils";
    nixpkgs.url = "/nixpkgs-ra/nixpkgs";
    dub2nix-src = {
      url = "github:lionello/dub2nix";
      flake  = false;
    };
  };
  outputs = { self, dub2nix-src, nixpkgs, flake-utils }:
  let
    pkgs = nixpkgs.legacyPackages.x86_64-linux;
  in {
    packages.x86_64-linux.spine = pkgs.stdenv.mkDerivation {
      name = "spine";
      inherit self;
      src = self;
      shell = ./shell.nix;
      installPhase = ''
         install -m755 spine $out/bin/spine
      '';
    };
    defaultPackage.x86_64-linux = self.packages.x86_64-linux.spine;
  };
}