-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
38 lines (36 loc) · 1.08 KB
/
flake.nix
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
{
description = "PubChemRDF KG BioBrick";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
hdt-cpp = {
url = "github:insilica/nix-hdt";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
hdt-java = {
url = "github:insilica/nix-hdt-java";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, flake-utils, hdt-cpp, hdt-java }:
flake-utils.lib.eachDefaultSystem (system:
with import nixpkgs { inherit system; }; {
devShells.default = mkShell {
buildInputs = [
hdt-cpp.packages.${system}.default
hdt-java.packages.${system}.default
apache-jena
librdf
wget
perlPackages.TextCSV
(lib.hiPrio pkgs.parallel-full) # prefer GNU Parallel over `moreutils`
moreutils
];
env = {
JENA_HOME = "${apache-jena}";
};
};
});
}