Something went wrong. Try again.
lol
Something went wrong. Try again.
785 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, flit-core, pretend, pytestCheckHook, requests,}:
buildPythonPackage rec { pname = "id"; version = "1.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "di"; repo = "id"; tag = "v${version}"; hash = "sha256-6Vkbs/i1roAtPGwLxdM+XKDrMTo0+NfVpAUpw6GPg9U="; };
build-system = [ flit-core ];
dependencies = [ requests ];
nativeCheckInputs = [ pretend pytestCheckHook ];
pythonImportsCheck = [ "id" ];
meta = { description = "Tool for generating OIDC identities"; homepage = "https://github.com/di/id"; changelog = "https://github.com/di/id/blob/${version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };}