at master 835 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6 pretend, 7 pytestCheckHook, 8 pythonOlder, 9 requests, 10}: 11 12buildPythonPackage rec { 13 pname = "id"; 14 version = "1.5.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "di"; 21 repo = "id"; 22 tag = "v${version}"; 23 hash = "sha256-6Vkbs/i1roAtPGwLxdM+XKDrMTo0+NfVpAUpw6GPg9U="; 24 }; 25 26 build-system = [ flit-core ]; 27 28 dependencies = [ requests ]; 29 30 nativeCheckInputs = [ 31 pretend 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "id" ]; 36 37 meta = with lib; { 38 description = "Tool for generating OIDC identities"; 39 homepage = "https://github.com/di/id"; 40 changelog = "https://github.com/di/id/blob/${version}/CHANGELOG.md"; 41 license = licenses.asl20; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}