-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
50 lines (47 loc) · 1.32 KB
/
flake.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
41
42
43
44
45
46
47
48
49
50
{
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
in
{
devShell.${system} = with nixpkgs.legacyPackages.${system}; mkShell {
buildInputs =
let
ghdl-nightly = (ghdl.overrideAttrs (oldAttrs: {
version = "3.0.0";
src = fetchFromGitHub {
owner = "ghdl";
repo = "ghdl";
rev = "v3.0.0";
hash = "sha256-94RNtHbOpbC2q/Z+PsQplrLxXmpS3LXOCXyTBB+n9c4=";
};
patches = [];
}));
in
[
gtkwave
ghdl-nightly
(
python3.withPackages (ps: with ps;
let
vunit_hdl = buildPythonPackage rec {
pname = "vunit_hdl";
version = "4.7.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-ol+5kbq9LqhRlm4NvcX02PZJqz5lDjASmDsp/V0Y8i0=";
};
propagatedBuildInputs = [ colorama ];
nativeBuildInputs = [ ghdl-nightly ];
doCheck = false;
};
in
[
vunit_hdl
])
)
];
};
};
}