about summary refs log tree commit diff
path: root/nix/templates/python3/flake.nix
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-09-19 10:48:16 +0200
committerEmile <git@emile.space>2024-09-19 10:48:16 +0200
commite833c13c177288b2a7b9168a784e0e6562c025b6 (patch)
tree1661dad1694989e2d83e6c2fca7b5602a61c574b /nix/templates/python3/flake.nix
parentdcde3882d5460368e3c0499a54330f84a6995d62 (diff)
big format using nixfmt
Diffstat (limited to 'nix/templates/python3/flake.nix')
-rw-r--r--nix/templates/python3/flake.nix55
1 files changed, 28 insertions, 27 deletions
diff --git a/nix/templates/python3/flake.nix b/nix/templates/python3/flake.nix
index f5c2378..b080013 100644
--- a/nix/templates/python3/flake.nix
+++ b/nix/templates/python3/flake.nix
@@ -1,31 +1,32 @@
 {
-	description = "a simple flake for using python with some dependencies";
-	nixConfig.bash-promt = "py; ";
+  description = "a simple flake for using python with some dependencies";
+  nixConfig.bash-promt = "py; ";
 
-	inputs = {
+  inputs = {
     nixpkgs.url = "git+https://github.com/nixos/nixpkgs?ref=release-23.11";
-	};
-	
-	outputs = { nixpkgs, ... }:
-	
-	let
-		pkgs = import nixpkgs {
-			system = "aarch64-darwin";
-		};
-	in {
-		devShells."aarch64-darwin".default =
-			let
-				python = pkgs.python311;
-			in
-				pkgs.mkShell {
-			  packages = [
-			    (python.withPackages (ps: with ps; [
-						pwntools
-						beautifulsoup4
-						requests
-			    ]))
-			  ];
-			};
-	};
-}
+  };
+
+  outputs =
+    { nixpkgs, ... }:
 
+    let
+      pkgs = import nixpkgs { system = "aarch64-darwin"; };
+    in
+    {
+      devShells."aarch64-darwin".default =
+        let
+          python = pkgs.python311;
+        in
+        pkgs.mkShell {
+          packages = [
+            (python.withPackages (
+              ps: with ps; [
+                pwntools
+                beautifulsoup4
+                requests
+              ]
+            ))
+          ];
+        };
+    };
+}