-
Notifications
You must be signed in to change notification settings - Fork 24
/
python.nix
47 lines (46 loc) · 1.15 KB
/
python.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
{ lib
, stdenv
, python310
, python310Packages
}:
stdenv.mkDerivation rec {
name = "uic_python_dependencies";
pymeta3 = python310Packages.buildPythonPackage rec {
pname = "PyMeta3";
version = "0.5.1";
src = python310Packages.fetchPypi {
inherit pname version;
sha256 = "GL2jJtmpu/WHv8DuC8loZJZNeLBnKIvPVdTZhoHQW8s=";
};
doCheck = false;
};
pybars3 = python310Packages.buildPythonPackage rec {
pname = "pybars3";
version = "0.9.7";
src = python310Packages.fetchPypi {
inherit pname version;
sha256 = "ashH6QXlO5xbk2rxEskQR14nv3Z/efRSjBb5rx7A4lI=";
};
propagatedBuildInputs = with python310Packages; [ pymeta3 ];
doCheck = false;
};
pythonExtra = python310.buildEnv.override {
extraLibs = [
pybars3
pymeta3
];
};
packages = pythonExtra.withPackages (p: with p; [
pybars3
pymeta3
gcovr
xmltodict
sphinx
breathe
# myst-parser # dependency issue: python3.8-pandas-1.4.3 is broken
linkify-it-py
# sphinxcontrib-plantuml # dependency issue: openjdk-headless-16+36 is marked as unsecure
# sphinx-markdown-tables
# sphinx-rtd-theme
]);
}