summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pymacaroons/default.nix
blob: c6a4f7f5b9feac2ec2235f2f6b840c7df529ec4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchPypi,
  six,
  pynacl,
}:

buildPythonPackage rec {
  pname = "pymacaroons";
  version = "0.13.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1e6bba42a5f66c245adf38a5a4006a99dcc06a0703786ea636098667d42903b8";
  };

  propagatedBuildInputs = [
    six
    pynacl
  ];

  # Tests require an old version of hypothesis
  doCheck = false;

  meta = {
    description = "Macaroon library for Python";
    homepage = "https://github.com/ecordell/pymacaroons";
    license = lib.licenses.mit;
  };
}