blob: 420176e524d0c3cb8c6f36602d0210f0d84d6511 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
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 ];
};
}
|