summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/package.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nix/package.nix b/nix/package.nix
new file mode 100644
index 0000000..4ef9ee6
--- /dev/null
+++ b/nix/package.nix
@@ -0,0 +1,23 @@
+{
+	lib,
+	rustPlatform,
+	...
+}:
+rustPlatform.buildRustPackage {
+	pname = "vuw_course_scraper";
+	version = "0.1.0";
+
+	src =
+		builtins.path {
+			name = "vuw_course_scraper";
+			path = ../.;
+		};
+
+	cargoHash = "sha256-Smg9lDuh2IkMTumVJtjPm3hXnIJ+POmNe5z6xPcQCXI=";
+
+	meta = with lib; {
+		description = "Scraper that can parse all of Victoria University of Wellington's courses, and output them in a computer-readable JSON file.";
+		homepage = "https://codeberg.org/sophieforrest/vuw_course_scraper";
+		license = licenses.agpl3Plus;
+	};
+}