about summary refs log tree commit diff
path: root/pkgs/development/python-modules/arnparse/default.nix
blob: f9795be59283a5573ed86e216cb7cb427969e20e (plain) (blame)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "arnparse";
  version = "0.0.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "PokaInc";
    repo = "arnparse";
    rev = version;
    hash = "sha256-2+wxzYoS/KJXjYM6lZguxbr2Oxobo0eFNnzWZHLi0WM=";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "arnparse" ];

  meta = with lib; {
    description = "Parse ARNs using Python";
    homepage = "https://github.com/PokaInc/arnparse";
    license = licenses.mit;
    maintainers = [ ];
  };
}