mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
39 lines
819 B
Nix
39 lines
819 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, httpsig
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pysmartapp";
|
|
version = "0.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "andrewsayre";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "03wk44siqxl15pa46x5vkg4q0mnga34ir7qn897576z2ivbx7awh";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
httpsig
|
|
];
|
|
|
|
checkInputs = [
|
|
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 ];
|
|
};
|
|
}
|