biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / id / default.nix
blob7ca8930f4fc46223ce234cfd0050c95a66d023fa
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flit-core,
6   pretend,
7   pydantic,
8   pytestCheckHook,
9   pythonOlder,
10   requests,
13 buildPythonPackage rec {
14   pname = "id";
15   version = "1.4.0";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "di";
22     repo = "id";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-lmUBy0hJAxfF65RcBP7tTizrg8j2Zypu4sKgOUQCYh8=";
25   };
27   build-system = [ flit-core ];
29   dependencies = [
30     pydantic
31     requests
32   ];
34   nativeCheckInputs = [
35     pretend
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "id" ];
41   meta = with lib; {
42     description = "Tool for generating OIDC identities";
43     homepage = "https://github.com/di/id";
44     changelog = "https://github.com/di/id/blob/${version}/CHANGELOG.md";
45     license = licenses.asl20;
46     maintainers = with maintainers; [ fab ];
47   };