summary refs log tree commit diff
path: root/pkgs/development/python-modules/pymacaroons/default.nix
blob: 96023c01e1e5339805f15ae0847fa183ef6dd79f (plain) (blame)
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
{ lib, buildPythonPackage, fetchPypi, six, pynacl }:

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

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

  propagatedBuildInputs = [
    six
    pynacl
  ];

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

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