-
Notifications
You must be signed in to change notification settings - Fork 0
/
deps.nix
59 lines (49 loc) · 1.62 KB
/
deps.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
51
52
53
54
55
56
57
58
59
{
pkgs,
python,
...
}: {
pytest-watcher = python.pkgs.buildPythonPackage rec {
pname = "pytest_watcher";
version = "0.4.2";
src = pkgs.fetchPypi {
inherit pname version;
hash = "sha256-eykvAlyhlhfNdWfCKMYYe1CH8tqeTSz24UTldkoEcbA=";
};
pyproject = true;
build-system = [python.pkgs.poetry-core];
dependencies = with python.pkgs; [
watchdog
tomli
];
};
amaranth-stdio = python.pkgs.buildPythonPackage rec {
pname = "amaranth-stdio";
version = "0.1.dev34+g${pkgs.lib.substring 0 7 src.rev}";
src = pkgs.fetchFromGitHub {
owner = "charlottia";
repo = "amaranth-stdio";
rev = "ca4fac262a2290495c82d76aa785bd8707afa781";
# hash = "sha256-75CSOTCo0D4TV5GKob5Uw3CZR3tfLoaT2xbH2I3JYA8="; # <-- from NixOS
hash = "sha256-mO5YPz5zCgjvu7KRrD1omVZXZ2Q7/v/7D1NotG1NHqA="; # <-- from nix-darwin
};
pyproject = true;
build-system = [python.pkgs.pdm-backend];
dependencies = [python.pkgs.amaranth];
dontCheckRuntimeDeps = 1; # amaranth 0.6.0.devX doesn't match anything.
};
amaranth-soc = python.pkgs.buildPythonPackage rec {
pname = "amaranth-soc";
version = "0.1.dev21+g${pkgs.lib.substring 0 7 src.rev}";
src = pkgs.fetchFromGitHub {
owner = "amaranth-lang";
repo = "amaranth-soc";
rev = "619521679eaa4a40e089bd29a97e2573b293877f";
hash = "sha256-WoJ+KrVX7NkEaO26U2o0fh1Jg0kvs91R/lcSqpeVmSU=";
};
pyproject = true;
build-system = [python.pkgs.pdm-backend];
dependencies = [python.pkgs.amaranth];
dontCheckRuntimeDeps = 1; # amaranth 0.6.0.devX doesn't match anything.
};
}