Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
878 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, setuptools, requests, webob, unittestCheckHook,}:
buildPythonPackage rec { pname = "hawkauthlib"; version = "0.1.1"; pyproject = true;
src = fetchFromGitHub { owner = "mozilla-services"; repo = "hawkauthlib"; tag = "v${version}"; hash = "sha256-UW++gLQX1U4jFwccL+O5wl2r/d2OZ5Ug0wcnSfqtIVc="; };
postPatch = '' substituteInPlace hawkauthlib/tests/* \ --replace-warn 'assertEquals' 'assertEqual' '';
build-system = [ setuptools ];
dependencies = [ requests webob ];
pythonImportsCheck = [ "hawkauthlib" ];
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; { homepage = "https://github.com/mozilla-services/hawkauthlib"; description = "Hawk Access Authentication protocol"; license = licenses.mpl20; maintainers = [ ]; };}