mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-17 05:20:21 +08:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
31 lines
561 B
Nix
31 lines
561 B
Nix
{
|
|
lib,
|
|
isPy3k,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
defusedxml,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python3-openid";
|
|
version = "3.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk";
|
|
};
|
|
|
|
propagatedBuildInputs = [ defusedxml ];
|
|
|
|
doCheck = false;
|
|
|
|
disabled = !isPy3k;
|
|
|
|
meta = {
|
|
description = "OpenID support for modern servers and consumers";
|
|
homepage = "https://github.com/necaris/python3-openid";
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|