nixpkgs/pkgs/development/python-modules/pymacaroons-pynacl/default.nix
Robert Schütz 49dbb87536 pythonPackages.pymacaroons-pynacl: move expression
Tests are now explicitly disabled to fix the build for Python 3.
2018-02-18 19:19:04 +01:00

25 lines
590 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pynacl, six }:
buildPythonPackage rec {
pname = "pymacaroons-pynacl";
version = "0.9.3";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "pymacaroons";
rev = "v${version}";
sha256 = "0bykjk01zdndp6gjr30x46blsn0cvxa7j0zh5g8raxwaawchjhii";
};
propagatedBuildInputs = [ pynacl six ];
# Tests require an old version of hypothesis
doCheck = false;
meta = with lib; {
description = "Macaroon library for Python";
homepage = https://github.com/matrix-org/pymacaroons;
license = licenses.mit;
};
}