Files
nixpkgs/pkgs/development/python-modules/python3-openid/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

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;
};
}