at 23.05-pre 34 lines 806 B view raw
1{ stdenv 2, lib 3, buildPythonPackage 4, fetchFromGitHub 5, pyramid 6, hawkauthlib 7, tokenlib 8, webtest 9}: 10 11buildPythonPackage rec { 12 pname = "pyramid_hawkauth"; 13 version = "0.1.0"; 14 15 src = fetchFromGitHub { 16 owner = "mozilla-services"; 17 repo = pname; 18 rev = "refs/tags/v${version}"; 19 sha256 = "038ign7qlavlmvrhb2y8bygbxvy4j7bx2k1zg0i3wblg2ja50w7h"; 20 }; 21 22 propagatedBuildInputs = [ pyramid hawkauthlib tokenlib ]; 23 buildInputs = [ webtest ]; 24 25 pythonImportsCheck = [ "pyramid_hawkauth" ]; 26 27 meta = with lib; { 28 broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; 29 homepage = "https://github.com/mozilla-services/pyramid_hawkauth"; 30 description = "A Pyramid authentication plugin for HAWK"; 31 license = licenses.mpl20; 32 maintainers = with maintainers; [ ]; 33 }; 34}