blob: 3a1282b8e693d63d46d848b434e8ef25ac9c0986 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
description = "a sisu like document parser";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "/nixpkgs-ra/nixpkgs/.gitworktree/ra/nixpkgs";
d2sqlite3 = {
url = "github:dlang-community/d2sqlite3";
flake = false;
};
tinyendian = {
url = "github:kiith-sa/tinyendian";
flake = false;
};
dyaml = {
url = "github:dlang-community/D-YAML";
flake = false;
};
imageformats = {
url = "github:lgvz/imageformats";
flake = false;
};
dub2nix-src = {
url = "github:lionello/dub2nix";
flake = false;
};
};
outputs = { self, d2sqlite3, tinyendian, dyaml, imageformats, 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;
};
}
|