summary refs log tree commit diff
path: root/flake.nix
blob: faeac5853fcb3002fe7aa056e6743a17486a65a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
	description = "Scraper that can parse all of Victoria University of Wellington's courses, and output them in a computer-readable JSON file.";

	inputs = {
		flake-parts.url = "github:hercules-ci/flake-parts";
		nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
	};

	outputs = inputs @ {flake-parts, ...}:
		flake-parts.lib.mkFlake {inherit inputs;} {
			systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];

			perSystem = {pkgs, ...}: {
				packages.default = pkgs.callPackage ./nix/package.nix {};
			};
		};
}