format flake

This commit is contained in:
Denis Lehmann 2021-04-21 12:30:39 +02:00
parent a2f710c263
commit 0b656c26ff

View file

@ -26,13 +26,13 @@
nativeBuildInputs = with pkgs; [
wrapGAppsHook
];
propagatedBuildInputs = with pkgs; [
python3Packages.colour
python3Packages.openrazer
python3Packages.toml
];
};
defaultPackage = self.packages.${system}.rzr;
@ -40,6 +40,7 @@
# Development shell
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
python3
python3Packages.pip
@ -48,6 +49,7 @@
python3Packages.openrazer
python3Packages.toml
];
shellHook = ''
if [ ! -d .venv ]; then
python -m venv .venv
@ -56,6 +58,7 @@
pip install --upgrade pip
pip install -r requirements.txt
'';
};
}