nixpkgs/pkgs/development/python-modules/arnparse/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

34 lines
632 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "arnparse";
version = "0.0.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "PokaInc";
repo = "arnparse";
rev = version;
sha256 = "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 ];
};
}