X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/92b11a100bc251b0b13d193b77f25b5f0bce08e7..e138a9b49da14f16c1de2c02dd928fd5d16aed52:/default.nix?ds=inline diff --git a/default.nix b/default.nix index f73efb5..affb068 100644 --- a/default.nix +++ b/default.nix @@ -1,11 +1,13 @@ { pkgs ? import { }, lint ? false }: pkgs.python3Packages.callPackage -({ lib, buildPythonPackage, autopep8, mypy, pylint, }: +({ lib, buildPythonPackage, autopep8, mypy, pylint, requests, types-requests }: buildPythonPackage rec { pname = "paperdoorknob"; version = "0.0.1"; src = lib.cleanSource ./.; - nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ]; + propagatedBuildInputs = [ requests ]; + nativeCheckInputs = [ mypy types-requests ] + ++ lib.optionals lint [ autopep8 pylint ]; doCheck = true; checkPhase = "./test.sh"; meta = {