15 buildPythonPackage rec {
21 src = fetchFromGitHub {
25 hash = "sha256-nKOPCkS2b3ObmBnk/7FTv4o4vwUX+tOtZI5OQQ4HSTY=";
32 propagatedBuildInputs = [
46 # Switch to peotry-core, https://github.com/rbw/pysnow/pull/183
48 name = "switch-to-poetry-core.patch";
49 url = "https://github.com/rbw/pysnow/commit/f214a203432b329df5317f3a25b2c0d9b55a9029.patch";
50 hash = "sha256-ViRR+9WStlaQwyrLGk/tMOUAcEMY+kB61ZEKGMQJ30o=";
55 substituteInPlace pyproject.toml \
56 --replace 'ijson = "^2.5.1"' 'ijson = "*"' \
57 --replace 'pytz = "^2019.3"' 'pytz = "*"' \
58 --replace 'oauthlib = "^3.1.0"' 'oauthlib = "*"'
61 pythonImportsCheck = [
66 description = "ServiceNow HTTP client library written in Python";
67 homepage = "https://github.com/rbw/pysnow";
68 license = licenses.mit;
69 maintainers = with maintainers; [ almac ];