summary refs log tree commit diff
path: root/nix/package.nix
diff options
context:
space:
mode:
authorSophie Forrest <git@sophieforrest.com>2024-09-10 13:34:09 +1200
committerSophie Forrest <git@sophieforrest.com>2024-09-10 13:38:00 +1200
commit50e5cd743022ae5d28b477899c22b415afba12e1 (patch)
tree0d53ccc70d4f01776834f0d0edfadc1b1cb57292 /nix/package.nix
parentc37c398a30f42da130142f0b2271d74b2c0465e1 (diff)
chore: use devenv
Diffstat (limited to 'nix/package.nix')
-rw-r--r--nix/package.nix39
1 files changed, 19 insertions, 20 deletions
diff --git a/nix/package.nix b/nix/package.nix
index 0736c62..95ce66b 100644
--- a/nix/package.nix
+++ b/nix/package.nix
@@ -1,29 +1,28 @@
 {
-	lib,
-	pkgs,
-	rustPlatform,
-	...
+  lib,
+  pkgs,
+  rustPlatform,
+  ...
 }:
 rustPlatform.buildRustPackage {
-	pname = "vuw_course_scraper";
-	version = "0.1.0";
+  pname = "vuw_course_scraper";
+  version = "0.1.0";
 
-	src =
-		builtins.path {
-			name = "vuw_course_scraper";
-			path = ../.;
-		};
+  src = builtins.path {
+    name = "vuw_course_scraper";
+    path = ../.;
+  };
 
-	cargoHash = "sha256-DU0qxv+KnVa+2SQvQ+CwcpNUc38ud9gwXXoCHC2A0hA=";
+  cargoHash = "sha256-DU0qxv+KnVa+2SQvQ+CwcpNUc38ud9gwXXoCHC2A0hA=";
 
-	nativeBuildInputs = let inherit (pkgs) openssl pkg-config; in [openssl openssl.dev pkg-config];
+  nativeBuildInputs = let inherit (pkgs) openssl pkg-config; in [openssl openssl.dev pkg-config];
 
-	PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
-	LD_LIBRARY_PATH = lib.makeLibraryPath [pkgs.openssl];
+  PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
+  LD_LIBRARY_PATH = lib.makeLibraryPath [pkgs.openssl];
 
-	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;
-	};
+  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;
+  };
 }