nix-scripts/artiq-full/python-deps.nix

44 lines
1.3 KiB
Nix
Raw Normal View History

2019-07-17 20:02:06 +08:00
{ pkgs }:
rec {
wavedrom = pkgs.python3Packages.buildPythonPackage rec {
pname = "wavedrom";
2020-10-07 19:30:04 +08:00
version = "2.0.3.post2";
2019-07-17 20:02:06 +08:00
src = pkgs.python3Packages.fetchPypi {
inherit pname version;
2020-10-07 19:30:04 +08:00
sha256 = "13a4086417nv836s2wbj3f4r31gwapbyw5smgl00jsqizwsk96r3";
2019-07-17 20:02:06 +08:00
};
buildInputs = [ pkgs.python3Packages.setuptools_scm ];
propagatedBuildInputs = with pkgs.python3Packages; [ svgwrite attrdict ];
doCheck = false;
2021-03-10 05:48:37 +08:00
meta = with pkgs.lib; {
2019-07-17 20:02:06 +08:00
description = "WaveDrom compatible Python module and command line";
homepage = "https://pypi.org/project/wavedrom/";
license = licenses.mit;
};
};
sphinxcontrib-wavedrom = pkgs.python3Packages.buildPythonPackage rec {
pname = "sphinxcontrib-wavedrom";
2020-10-07 19:30:04 +08:00
version = "2.1.1";
2019-07-17 20:02:06 +08:00
src = pkgs.python3Packages.fetchPypi {
inherit pname version;
2020-10-07 19:30:04 +08:00
sha256 = "09xq4csdcil2x8mm38yd5k6lfbkazicvm278xnzwbfc9vghkqqs2";
2019-07-17 20:02:06 +08:00
};
buildInputs = [ pkgs.python3Packages.setuptools_scm ];
propagatedBuildInputs = [ wavedrom ] ++ (with pkgs.python3Packages; [ sphinx xcffib cairosvg ]);
doCheck = false;
2021-03-10 05:48:37 +08:00
meta = with pkgs.lib; {
2019-07-17 20:02:06 +08:00
description = "A Sphinx extension that allows including WaveDrom diagrams";
homepage = "https://pypi.org/project/sphinxcontrib-wavedrom/";
license = licenses.mit;
};
};
}