Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, setuptools, ordered-set, pytestCheckHook, matplotlib, quantities, texlive}:
buildPythonPackage rec { pname = "pylatex"; version = "1.4.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "JelteF"; repo = "PyLaTeX"; rev = "v${version}"; hash = "sha256-gZKMYGMp7bzDY5+Xx9h1AFP4l0Zd936fDfSXyW5lY1k="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ ordered-set ];
pythonImportsCheck = [ "pylatex" "pylatex.base_classes" ];
nativeCheckInputs = [ pytestCheckHook matplotlib quantities (texlive.combine { inherit (texlive) scheme-small lastpage collection-fontsrecommended ;}) ];
meta = with lib; { description = "A Python library for creating LaTeX files and snippets"; homepage = "https://jeltef.github.io/PyLaTeX/current/"; downloadPage = "https://github.com/JelteF/PyLaTeX/releases"; changelog = "https://jeltef.github.io/PyLaTeX/current/changelog.html"; license = licenses.mit; maintainers = with maintainers; [ MayNiklas ]; };}