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

41 lines
897 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
httpsig,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pysmartapp";
version = "0.3.5";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "andrewsayre";
repo = pname;
rev = version;
hash = "sha256-RiRGOO5l5hcHllyDDGLtQHr51JOTZhAa/wK8BfMqmAY=";
};
propagatedBuildInputs = [ httpsig ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pysmartapp" ];
meta = with lib; {
description = "Python implementation to work with SmartApp lifecycle events";
homepage = "https://github.com/andrewsayre/pysmartapp";
changelog = "https://github.com/andrewsayre/pysmartapp/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}