Merge pull request #16407 from layus/fix-pylti

Fix python LTI

authored by zimbatm.tngl.sh and committed by GitHub 94396f21 b0487cb4

+11 -2
+11 -2
pkgs/top-level/python-packages.nix
··· 6965 6965 }; 6966 6966 }; 6967 6967 6968 - lti = let self' = (self.override {self = self';}) // {pytest = self.pytest_27;}; 6968 + lti = let 6969 + self' = (self.override {self = self';}) // {pytest = self.pytest_27;}; 6970 + mock_1_0_1 = self'.mock.overrideDerivation (_: rec { 6971 + name = "mock-1.0.1"; 6972 + propagatedBuildInputs = null; 6973 + src = pkgs.fetchurl { 6974 + url = "http://pypi.python.org/packages/source/m/mock/${name}.tar.gz"; 6975 + sha256 = "0kzlsbki6q0awf89rc287f3aj8x431lrajf160a70z0ikhnxsfdq"; 6976 + }; 6977 + }); 6969 6978 in buildPythonPackage rec { 6970 6979 version = "0.4.1"; 6971 6980 name = "PyLTI-${version}"; ··· 6975 6984 propagatedBuildInputs = with self; [ httplib2 oauth oauth2 semantic-version ]; 6976 6985 buildInputs = with self'; [ 6977 6986 flask httpretty oauthlib pyflakes pytest pytestcache pytestcov covCore 6978 - pytestflakes pytestpep8 sphinx mock 6987 + pytestflakes pytestpep8 sphinx mock_1_0_1 6979 6988 ]; 6980 6989 6981 6990 src = pkgs.fetchurl {