python3Packages.macaroonbakery: init at 1.3.4
This commit is contained in:
parent
fd43ba0f75
commit
cb4d1f7403
60
pkgs/development/python-modules/macaroonbakery/default.nix
Normal file
60
pkgs/development/python-modules/macaroonbakery/default.nix
Normal file
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
protobuf3,
|
||||
pymacaroons,
|
||||
pynacl,
|
||||
pyrfc3339,
|
||||
requests,
|
||||
setuptools,
|
||||
httmock,
|
||||
fixtures,
|
||||
pytestCheckHook,
|
||||
mock,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "macaroonbakery";
|
||||
version = "1.3.4";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "go-macaroon-bakery";
|
||||
repo = "py-macaroon-bakery";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-NEhr8zkrHceeLbAyuUvc7U6dyQxkpkj0m5LlnBMafA0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
protobuf3
|
||||
pymacaroons
|
||||
pynacl
|
||||
pyrfc3339
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "macaroonbakery" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
fixtures
|
||||
httmock
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "A Python library for working with macaroons";
|
||||
homepage = "https://github.com/go-macaroon-bakery/py-macaroon-bakery";
|
||||
changelog = "https://github.com/go-macaroon-bakery/py-macaroon-bakery/releases/tag/${version}";
|
||||
license = lib.licenses.lgpl3Only;
|
||||
maintainers = with lib.maintainers; [ jnsgruk ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -7053,6 +7053,8 @@ self: super: with self; {
|
|||
|
||||
regress = callPackage ../development/python-modules/regress { };
|
||||
|
||||
macaroonbakery = callPackage ../development/python-modules/macaroonbakery { };
|
||||
|
||||
mail-parser = callPackage ../development/python-modules/mail-parser { };
|
||||
|
||||
makefun = callPackage ../development/python-modules/makefun { };
|
||||
|
|
Loading…
Reference in New Issue
Block a user