aboutsummaryrefslogtreecommitdiffhomepage
path: root/default.nix
blob: fa6adada526584b2c006187c2bc1f77a0d0961f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env -S nix-build
{ pkgs ? import <nixpkgs> {},
  stdenv ? pkgs.stdenv,
}:
with import ./nix/mkDub.nix { inherit pkgs; };
mkDubDerivation rec {
  name = "spine-${version}";
  version = "0.11.1";
  src = ./.;
  buildInputs = [
    pkgs.sqlite
    (import ./nix/shell-packages.nix { inherit pkgs; })
  ];
  # installPhase = ''
  #   install -m755 -D spine $out/bin/spine
  #   echo "built $out/bin/spine"
  # '';
  meta = with stdenv.lib; {
    homepage = http://sisudoc.org;
    description = "a sisu like document parser";
    license = licenses.agpl3Plus;
    platforms = platforms.linux;
    maintainers = [ RalphAmissah ];
  };
}