depot/third_party/nixpkgs/pkgs/development/python-modules/arnparse/default.nix
Default email 83627f9931 Project import generated by Copybara.
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
2024-06-24 14:47:55 -04:00

30 lines
592 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 = [ ];
};
}