Commits: 2

Update Nix dependencies

index 3bb45b3..a5e32a2 100644
--- a/flake.lock
+++ b/flake.lock
@@ -44,11 +44,11 @@
=        ]
=      },
=      "locked": {
-        "lastModified": 1758897340,
-        "narHash": "sha256-YCakDdXHLJ06xo48RN/w3B9MdS9VEmcBAlQYibocQLw=",
+        "lastModified": 1759497781,
+        "narHash": "sha256-LGguuO6j2Tb3oNOix+oqxU3WfhoaFIEBLuQynSjWmjU=",
=        "owner": "cachix",
=        "repo": "devenv",
-        "rev": "2d0941e76e7d9c3a03d47d431f38cc3dd5f90f98",
+        "rev": "84bb5b2b4e0bb09d21e7172517ee2088ec09ab48",
=        "type": "github"
=      },
=      "original": {
@@ -186,16 +186,16 @@
=        ]
=      },
=      "locked": {
-        "lastModified": 1755029779,
-        "narHash": "sha256-3+GHIYGg4U9XKUN4rg473frIVNn8YD06bjwxKS1IPrU=",
+        "lastModified": 1758763079,
+        "narHash": "sha256-Bx1A+lShhOWwMuy3uDzZQvYiBKBFcKwy6G6NEohhv6A=",
=        "owner": "cachix",
=        "repo": "nix",
-        "rev": "b0972b0eee6726081d10b1199f54de6d2917f861",
+        "rev": "6f0140527c2b0346df4afad7497baa08decb929f",
=        "type": "github"
=      },
=      "original": {
=        "owner": "cachix",
-        "ref": "devenv-2.30.4",
+        "ref": "devenv-2.30.5",
=        "repo": "nix",
=        "type": "github"
=      }

Make nix run tests before installing

index 9ab8b46..6dcdda6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -25,6 +25,7 @@
=          ps.pytest
=          ps.httpx
=        ]);
+        test_jwt_secret_key="2ac1b726b973bf993096e63264772d859e70b60d05f17eca69e3f39cae2ccf71";
=      in
=
=    {
@@ -33,6 +34,7 @@
=          pname = "jaas";
=          version = "0.1.0";
=          src = ./.;
+          buildInputs = [ python ];
=
=          installPhase = ''
=            mkdir --parents $out/lib $out/bin
@@ -41,6 +43,9 @@
=            echo "${python}/bin/python $out/lib/main.py" >> $out/bin/jaas
=            chmod a+x $out/bin/jaas
=          '';
+
+          doCheck = true;
+          checkPhase = "jaas_jwt_secret_key=${test_jwt_secret_key} pytest";
=        };
=      };
=