blob: 759fb8b98bc87d81ee017a60a6405ff1c3b60ab6 (
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 = "/nixpkgs-ra/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;
};
}
|