blob: b34a57d8e9d27f4f219ca83866fa12f9bcdeeb3c (
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
42
43
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
autocommand,
importlib-resources,
path,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "oathtool";
version = "2.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jaraco";
repo = "oathtool";
tag = "v${version}";
hash = "sha256-Qa4/fVa7Ws8t42MxZpEVKI7Wyux/uN77VP0JBnrmgq0=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
autocommand
path
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "oathtool" ];
meta = {
description = "One-time password generator";
homepage = "https://github.com/jaraco/oathtool";
changelog = "https://github.com/jaraco/oathtool/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|