at 23.11-beta 39 lines 829 B view raw
1{ lib 2, fetchFromGitHub 3, python3 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "imdshift"; 8 version = "1.0.0"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "ayushpriya10"; 13 repo = "IMDShift"; 14 rev = "refs/tags/v${version}"; 15 hash = "sha256-Uoa0uNOhCkT622Yy8GEg8jz9k5zmtXwGmvdb3MVTLX8="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ 19 boto3 20 click 21 prettytable 22 tqdm 23 ]; 24 25 # Project has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ 29 "IMDShift" 30 ]; 31 32 meta = with lib; { 33 description = "Tool to migrate workloads to IMDSv2"; 34 homepage = "https://github.com/ayushpriya10/IMDShift"; 35 changelog = "https://github.com/ayushpriya10/IMDShift/releases/tag/v${version}"; 36 license = licenses.gpl3Only; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}