depot/third_party/nixpkgs/pkgs/development/python-modules/arnparse/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

30 lines
624 B
Nix

{
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 = with maintainers; [ wolfangaukang ];
};
}