1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6 pynacl,
7}:
8
9buildPythonPackage rec {
10 pname = "pymacaroons";
11 version = "0.13.0";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "1e6bba42a5f66c245adf38a5a4006a99dcc06a0703786ea636098667d42903b8";
17 };
18
19 propagatedBuildInputs = [
20 six
21 pynacl
22 ];
23
24 # Tests require an old version of hypothesis
25 doCheck = false;
26
27 meta = with lib; {
28 description = "Macaroon library for Python";
29 homepage = "https://github.com/ecordell/pymacaroons";
30 license = licenses.mit;
31 };
32}