blob: 8b64e55945a9f2eaacc0f6e2eac4bcbb88d2bb2a (
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
|
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "imdshift";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ayushpriya10";
repo = "IMDShift";
tag = "v${finalAttrs.version}";
hash = "sha256-Uoa0uNOhCkT622Yy8GEg8jz9k5zmtXwGmvdb3MVTLX8=";
};
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
boto3
click
prettytable
tqdm
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"IMDShift"
];
meta = {
description = "Tool to migrate workloads to IMDSv2";
mainProgram = "imdshift";
homepage = "https://github.com/ayushpriya10/IMDShift";
changelog = "https://github.com/ayushpriya10/IMDShift/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
})
|