blob: 9c8709c8b356b534f0aee29d4af8e97951a23213 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{
description = "a sisu like document parser";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs";
};
outputs = { self, 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;
};
}
|