-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshell.nix
40 lines (39 loc) · 849 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ pkgs ? import
(builtins.fetchGit {
name = "nixos-unstable-2023_02_25";
url = "https://github.com/nixos/nixpkgs/";
ref = "refs/heads/nixos-unstable";
rev = "988cc958c57ce4350ec248d2d53087777f9e1949";
})
{ }
}:
with pkgs;
let
custom_kicad = { kicadVersion, rev, sha256 }: kicad-unstable.override {
srcs = {
inherit kicadVersion;
kicad = fetchFromGitLab {
group = "kicad";
owner = "code";
repo = "kicad";
inherit rev sha256;
};
};
};
kicad-7_0_1 = custom_kicad {
kicadVersion = "7.0.1";
rev = "3f5d3fa0";
sha256 = "sha256-tmpBW23fVw6TT7oA6ifpccP61d1yeImA/jhhv7tTOgg=";
};
in
mkShell {
buildInputs = [
#kicad # 7.0.0
kicad-7_0_1
zip
poppler_utils
(python3.withPackages(ps: with ps; [
sexpdata
]))
];
}