evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / pylatex / default.nix
blobecd6adf3cdd2ed8b5c17ef6e0bf294df25a5cbcb
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   setuptools,
7   ordered-set,
8   pytestCheckHook,
9   matplotlib,
10   quantities,
11   texlive,
14 buildPythonPackage rec {
15   pname = "pylatex";
16   version = "1.4.2";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "JelteF";
23     repo = "PyLaTeX";
24     rev = "v${version}";
25     hash = "sha256-gZKMYGMp7bzDY5+Xx9h1AFP4l0Zd936fDfSXyW5lY1k=";
26   };
28   nativeBuildInputs = [ setuptools ];
30   propagatedBuildInputs = [ ordered-set ];
32   pythonImportsCheck = [
33     "pylatex"
34     "pylatex.base_classes"
35   ];
37   nativeCheckInputs = [
38     pytestCheckHook
39     matplotlib
40     quantities
41     (texlive.combine { inherit (texlive) scheme-small lastpage collection-fontsrecommended; })
42   ];
44   meta = with lib; {
45     description = "Python library for creating LaTeX files and snippets";
46     homepage = "https://jeltef.github.io/PyLaTeX/current/";
47     downloadPage = "https://github.com/JelteF/PyLaTeX/releases";
48     changelog = "https://jeltef.github.io/PyLaTeX/current/changelog.html";
49     license = licenses.mit;
50     maintainers = with maintainers; [ MayNiklas ];
51   };