X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/afd3c3a13956819ceb32c28875f56cff7df8fe3f..07f9b178a58e87f90aa7ab1e459c17561345154d:/default.nix diff --git a/default.nix b/default.nix index 58f9886..3e02638 100644 --- a/default.nix +++ b/default.nix @@ -1,7 +1,8 @@ { pkgs ? import { }, lint ? false }: pkgs.python3Packages.callPackage ({ lib, buildPythonPackage, makeWrapper , autopep8, mypy, pylint, beautifulsoup4, requests, requests-cache - , types-beautifulsoup4, types-requests, xdg-base-dirs, pandoc-cli }: + , texliveBasic, types-beautifulsoup4, types-requests, xdg-base-dirs + , pandoc-cli }: buildPythonPackage rec { pname = "paperdoorknob"; version = "0.0.1"; @@ -9,7 +10,8 @@ pkgs.python3Packages.callPackage ({ lib, buildPythonPackage, makeWrapper nativeBuildInputs = [ makeWrapper ]; propagatedBuildInputs = [ beautifulsoup4 requests requests-cache xdg-base-dirs ]; - nativeCheckInputs = [ mypy pandoc-cli types-beautifulsoup4 types-requests ] + nativeCheckInputs = + [ mypy pandoc-cli texliveBasic types-beautifulsoup4 types-requests ] ++ lib.optionals lint [ autopep8 pylint ]; doCheck = true; checkPhase = "./test.sh";