1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "arnparse";
9 version = "0.0.2";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "PokaInc";
14 repo = "arnparse";
15 rev = version;
16 hash = "sha256-2+wxzYoS/KJXjYM6lZguxbr2Oxobo0eFNnzWZHLi0WM=";
17 };
18
19 nativeCheckInputs = [
20 pytestCheckHook
21 ];
22
23 pythonImportsCheck = [
24 "arnparse"
25 ];
26
27 meta = with lib; {
28 description = "Parse ARNs using Python";
29 homepage = "https://github.com/PokaInc/arnparse";
30 license = licenses.mit;
31 maintainers = with maintainers; [ wolfangaukang ];
32 };
33}