Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit 268c893

Browse files
committed
add nix/direnv files
1 parent a6c9d61 commit 268c893

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
which nix &>/dev/null && use nix

shell.nix

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
let
2+
_pkgs = import <nixpkgs> {};
3+
in
4+
{ pkgs ? import (_pkgs.fetchFromGitHub { owner = "NixOS";
5+
repo = "nixpkgs-channels";
6+
# nixos-unstable @2019-05-28
7+
rev = "eccb90a2d997d65dc514253b441e515d8e0241c3";
8+
sha256 = "0ffa84mp1fgmnqx2vn43q9pypm3ip9y67dkhigsj598d8k1chzzw";
9+
}) {}
10+
}:
11+
12+
with pkgs;
13+
14+
mkShell {
15+
buildInputs = [
16+
python3
17+
python3Packages.black
18+
python3Packages.flake8
19+
python3Packages.pylama
20+
python3Packages.pytest
21+
python3Packages.pytestcov
22+
python3Packages.requests
23+
python3Packages.requests-mock
24+
python3Packages.tox
25+
];
26+
}

0 commit comments

Comments
 (0)