-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use overlay to add extra modules to the package set * Properly set dependencies for package derivations * Package missing dependencies * Upgrade packaged sphinx-tsn-theme version to 2024.1.0 * Slightly prettify python-dependencies.nix Signed-off-by: Sarah Renkhoff <[email protected]>
- Loading branch information
1 parent
ab2fbc8
commit 7b3be57
Showing
11 changed files
with
215 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
final: prev: { | ||
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [ | ||
( | ||
python-final: python-prev: { | ||
pyedbglib = prev.python3Packages.callPackage ../pyedbglib/default.nix { }; | ||
pydebuggerconfig = prev.python3Packages.callPackage ../pydebuggerconfig/default.nix { }; | ||
pykitinfo = prev.python3Packages.callPackage ../pykitinfo/default.nix { }; | ||
pymcuprog = prev.python3Packages.callPackage ../pymcuprog/default.nix { }; | ||
sphinx-csv-filter = prev.python3Packages.callPackage ../sphinx-csv-filter/default.nix { }; | ||
sphinx-tsn-theme = prev.python3Packages.callPackage ../sphinx-tsn-theme/default.nix { }; | ||
sphinxcontrib-svg2pdfconverter = prev.python3Packages.callPackage ../sphinxcontrib-svg2pdfconverter/default.nix { }; | ||
clang-format = prev.python3Packages.callPackage ../clang-format/default.nix { }; | ||
} | ||
) | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ lib | ||
, fetchPypi | ||
, buildPythonPackage | ||
, pyedbglib | ||
}: | ||
|
||
buildPythonPackage rec { | ||
|
||
pname = "pydebuggerconfig"; | ||
version = "3.9.2.121"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
format = "wheel"; | ||
python = "py3"; | ||
dist = "py3"; | ||
sha256 = "sha256-SrGDaWW0Or8AFwb148xOGfKQuTv3ZoacU3rZFrk8tvM="; | ||
}; | ||
|
||
format = "wheel"; | ||
|
||
propagatedBuildInputs = [ | ||
pyedbglib | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ lib | ||
, fetchPypi | ||
, buildPythonPackage | ||
, pyserial | ||
}: | ||
|
||
buildPythonPackage rec { | ||
|
||
pname = "pyedbglib"; | ||
version = "2.23.0.14"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
format = "wheel"; | ||
python = "py3"; | ||
dist = "py3"; | ||
sha256 = "sha256-NOqJfS4Xk9lw5KWk99YVOcrW89slXYLFQUlTI8fiv+M="; | ||
}; | ||
|
||
format = "wheel"; | ||
|
||
propagatedBuildInputs = [ | ||
pyserial | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,61 @@ | ||
{pypkgs}: [ | ||
pypkgs.anytree | ||
pypkgs.breathe | ||
pypkgs.canopen | ||
pypkgs.cbor | ||
pypkgs.colorama | ||
pypkgs.commonmark | ||
pypkgs.coverage | ||
pypkgs.docutils | ||
pypkgs.ecdsa | ||
pypkgs.gcovr | ||
pypkgs.graphviz | ||
pypkgs.grpcio-tools | ||
pypkgs.imagesize | ||
pypkgs.imgtool | ||
pypkgs.intelhex | ||
pypkgs.junit2html | ||
pypkgs.junitparser | ||
pypkgs.lpc-checksum | ||
pypkgs.lxml | ||
pypkgs.mock | ||
pypkgs.mypy | ||
pypkgs.natsort | ||
pypkgs.packaging | ||
pypkgs.parse | ||
pypkgs.pillow | ||
pypkgs.ply | ||
pypkgs.progress | ||
pypkgs.protobuf | ||
pypkgs.psutil | ||
pypkgs.pyelftools | ||
pypkgs.pygithub | ||
pypkgs.pygments | ||
pypkgs.pykitinfo | ||
pypkgs.pykwalify | ||
pypkgs.pylink-square | ||
pypkgs.pylint | ||
pypkgs.pymcuprog | ||
pypkgs.pyocd | ||
pypkgs.pyserial | ||
pypkgs.pytest | ||
pypkgs.python-magic | ||
pypkgs.pyyaml | ||
pypkgs.recommonmark | ||
pypkgs.regex | ||
pypkgs.requests | ||
pypkgs.sphinx | ||
pypkgs.sphinx-copybutton | ||
pypkgs.sphinx-csv-filter | ||
pypkgs.sphinx-notfound-page | ||
pypkgs.sphinx-rtd-theme | ||
pypkgs.sphinx-tabs | ||
pypkgs.sphinx-togglebutton | ||
pypkgs.sphinx-tsn-theme | ||
pypkgs.sphinxcontrib-mscgen | ||
pypkgs.sphinxcontrib-svg2pdfconverter | ||
pypkgs.tabulate | ||
pypkgs.west | ||
pypkgs.yamllint | ||
pypkgs.zcbor | ||
{ pypkgs }: with pypkgs; [ | ||
anytree | ||
breathe | ||
canopen | ||
cbor | ||
colorama | ||
commonmark | ||
coverage | ||
docutils | ||
ecdsa | ||
gcovr | ||
graphviz | ||
grpcio-tools | ||
imagesize | ||
imgtool | ||
intelhex | ||
junit2html | ||
junitparser | ||
lpc-checksum | ||
lxml | ||
mock | ||
mypy | ||
natsort | ||
packaging | ||
parse | ||
pillow | ||
ply | ||
progress | ||
protobuf | ||
psutil | ||
pyelftools | ||
pygithub | ||
pygments | ||
pykitinfo | ||
pykwalify | ||
pylink-square | ||
pylint | ||
pymcuprog | ||
pyocd | ||
pyserial | ||
pytest | ||
python-magic | ||
pyyaml | ||
recommonmark | ||
regex | ||
requests | ||
sphinx | ||
sphinx-copybutton | ||
sphinx-csv-filter | ||
sphinx-notfound-page | ||
sphinx-rtd-theme | ||
sphinx-tabs | ||
sphinx-togglebutton | ||
sphinx-tsn-theme | ||
sphinxcontrib-mscgen | ||
sphinxcontrib-svg2pdfconverter | ||
tabulate | ||
west | ||
yamllint | ||
zcbor | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
{ lib, buildPythonPackage, fetchFromGitHub, setuptools }: | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, setuptools | ||
, sphinx-rtd-theme | ||
}: | ||
|
||
buildPythonPackage rec { | ||
|
||
pname = "sphinx-tsn-theme"; | ||
version = "2023.12.1"; | ||
version = "2024.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "tiacsys"; | ||
repo = "sphinx-tsn-theme"; | ||
rev = "2023.12.1"; | ||
hash = "sha256-sj08Q7v79YYq5i/uIEdLXLFUmGg4x+QnJfwLyGr20nU="; | ||
src = fetchPypi { | ||
pname = "sphinx_tsn_theme"; | ||
inherit version; | ||
format = "wheel"; | ||
python = "py3"; | ||
dist = "py3"; | ||
hash = "sha256-2BECC7XvezBzUk/Zs3CDfEfgX7K4YqcCYvsUQBLw0qs="; | ||
}; | ||
|
||
format = "pyproject"; | ||
nativeBuildInputs = [ | ||
setuptools | ||
format = "wheel"; | ||
|
||
propagatedBuildInputs = [ | ||
sphinx-rtd-theme | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters