mirror of https://github.com/EasyCTF/librectf
19 lines
494 B
Nix
19 lines
494 B
Nix
{
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
pythonPackages = pkgs.python310Packages;
|
|
in {
|
|
devShell = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
(python310.withPackages (p: with p; [ black poetry ]))
|
|
libmysqlclient
|
|
mdbook
|
|
];
|
|
|
|
SECRET_KEY = "ad88fec19a7641e5de308e45dd4fa1c5";
|
|
};
|
|
});
|
|
}
|