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